Update tags.html

This commit is contained in:
Dean Attali 2018-01-19 01:40:21 -05:00 committed by GitHub
parent c3efb6f5e4
commit 34bc92f004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,14 @@ title: 'Tag Index'
{%- assign tags_list = site_tags | split:',' | sort -%} {%- assign tags_list = site_tags | split:',' | sort -%}
{%- for tag in tags_list -%} {%- for tag in tags_list -%}
<a href="#{{- tag -}}" class="btn btn-primary tag-btn"><i class="fa fa-tag" aria-hidden="true"></i>&nbsp;{{- tag -}}</a> <a href="#{{- tag -}}" class="btn btn-primary tag-btn"><i class="fa fa-tag" aria-hidden="true"></i>&nbsp;{{- tag -}}&nbsp;({{site.tags[tag].size}}</a>
{%- endfor -%} {%- endfor -%}
<div id="full-tags-list"> <div id="full-tags-list">
{%- for tag in tags_list -%} {%- for tag in tags_list -%}
<h2 id="{{- tag -}}" class="linked-section"> <h2 id="{{- tag -}}" class="linked-section">
<i class="fa fa-tag" aria-hidden="true"></i> <i class="fa fa-tag" aria-hidden="true"></i>
&nbsp;{{- tag -}} &nbsp;{{- tag -}}&nbsp;({{site.tags[tag].size}}
</h2> </h2>
<div class="post-list"> <div class="post-list">
{%- for post in site.tags[tag] -%} {%- for post in site.tags[tag] -%}