We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a question that how site.tags was generated.
site.tags
In your blog: Jekyll Tags on Github Pages · Long Qian, which said that site.tags was created by the liquid scripts follows:
{% assign rawtags = "" %} {% for post in site.posts %} {% assign ttags = post.tags | join:'|' | append:'|' %} {% assign rawtags = rawtags | append:ttags %} {% endfor %} {% assign rawtags = rawtags | split:'|' | sort %} {% assign site.tags = "" %} {% for tag in rawtags %} {% if tag != "" %} {% if tags == "" %} {% assign tags = tag | split:'|' %} {% endif %} {% unless tags contains tag %} {% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %} {% endunless %} {% endif %} {% endfor %}
However, these operations in tags seem to have nothing to do with site.tags.
tags
And how posts are included in tag[1] of site.tags?
posts
tag[1]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a question that how
site.tags
was generated.In your blog: Jekyll Tags on Github Pages · Long Qian, which said that
site.tags
was created by the liquid scripts follows:However, these operations in
tags
seem to have nothing to do withsite.tags
.And how
posts
are included intag[1]
ofsite.tags
?The text was updated successfully, but these errors were encountered: