You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read through FAQ and searched through the past issues, none of which addressed my issue.
The issue I am raising is a potential bug in al-folio and not just a usage question. [For usage questions, please post in the Discussions instead of raising an issue.]
Describe the bug
The news section within about page should display No news so far… if there are no news to show up (according to _includes/news.html file). Yet, if the _news directory is empty or has been removed, the message is not showing up.
I fixed the issue by replacing the condition {% if site.news %} by {% if site.news != blank %} and I was wondering if this is a real bug or maybe due to the Jekyll/Ruby version ?
To Reproduce
Steps to reproduce the behavior:
Remove the content in _news directory
Go to the about page
Scroll down to the news section
Expected behavior
The message No news so far… should be displayed as stated in _includes/news.html (line 23).
System (please complete the following information):
OS: Ubuntu 20.04
Browser (and its version): Firefox 96.0
Jekyll version: 4.2.1
Ruby version: 3.1.0
The text was updated successfully, but these errors were encountered:
Acknowledge the following
[For usage questions, please post in the Discussions instead of raising an issue.]
Describe the bug
The news section within about page should display
No news so far…
if there are no news to show up (according to_includes/news.html
file). Yet, if the_news
directory is empty or has been removed, the message is not showing up.I fixed the issue by replacing the condition
{% if site.news %}
by{% if site.news != blank %}
and I was wondering if this is a real bug or maybe due to the Jekyll/Ruby version ?To Reproduce
Steps to reproduce the behavior:
_news
directoryabout
pageExpected behavior
The message
No news so far…
should be displayed as stated in_includes/news.html
(line 23).System (please complete the following information):
The text was updated successfully, but these errors were encountered: