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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
https://github.com/pages-themes/minimal/blob/master/_layouts/post.html#L12
On my blog, I was observing a post that had 0 tags (no
tag
in the frontmatter), yet the tags showed up on the page with an empty string.I believe Jekyll is loading a single tag with value equal to "".
In my blog, I switched this check to be:
{% if page.tags[0].size > 0 %}
I am happy to contribute this to this project, or work towards a better solution.
The text was updated successfully, but these errors were encountered: