diff options
author | Dillon <dillonzq@outlook.com> | 2019-08-26 10:17:21 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2019-08-26 10:17:21 +0300 |
commit | 45c9281131665719b9246b27056f5563c0489a76 (patch) | |
tree | 14afc21c31dee16506cf21902d02f41ddf9c7e51 /layouts/taxonomy | |
parent | 7639927bd515a5175e6a6ccb3fe49c410dea0f10 (diff) |
fix: fix icon css bug
Diffstat (limited to 'layouts/taxonomy')
-rw-r--r-- | layouts/taxonomy/list.html | 4 | ||||
-rw-r--r-- | layouts/taxonomy/terms.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 2fc7823..1ad36f5 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -5,9 +5,9 @@ <h2 class="post-title animated pulse faster"> {{ $taxonomy := .Data.Singular }} {{ if eq $taxonomy "category" }} - <i class="far fa-folder-open"></i> {{ .Title }} + <i class="far fa-folder-open"></i>{{ .Title }} {{ else if eq $taxonomy "tag" }} - <i class="fas fa-tag"></i> {{ .Title }} + <i class="fas fa-tag"></i>{{ .Title }} {{ else }} {{ printf "%s - %s" (T $taxonomy | default (humanize $taxonomy)) .Title }} {{ end }} diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html index caaf359..4d17b51 100644 --- a/layouts/taxonomy/terms.html +++ b/layouts/taxonomy/terms.html @@ -20,7 +20,7 @@ <div class="card-item"> <div class="categories"> <a href="{{ .Permalink }}"> - <h3><i class="far fa-folder"></i> {{ $term | humanize}}</h3> + <h3><i class="far fa-folder"></i>{{ $term | humanize}}</h3> </a> {{ range first 5 $pages }} <article class="archive-item"> |