Skip to content

Commit

Permalink
fix tag count missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Simpleyyt committed Oct 3, 2017
1 parent 423cd03 commit c244ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/_macro/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</div>
{% endif %}

{% if site.tags.length > 0 %}
{% if site.tags.size > 0 %}
{% assign tagsPageQuery = site.pages | where_exp: 'page', 'page.type == "tags"' %}
{% if tagsPageQuery.size > 0 %}
{% assign hasTagsPage = true %}
Expand Down

0 comments on commit c244ba7

Please sign in to comment.