Update tags.html

This commit is contained in:
Dean Attali 2018-01-19 01:50:23 -05:00 committed by GitHub
parent c260bb3a37
commit 0ff0c5ad6b
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 -}}&nbsp;({{site.tags[tag].size}}</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;({{site.tags[tag].size}} &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] -%}