Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2019-08-26 10:17:21 +0300
committerDillon <dillonzq@outlook.com>2019-08-26 10:17:21 +0300
commit45c9281131665719b9246b27056f5563c0489a76 (patch)
tree14afc21c31dee16506cf21902d02f41ddf9c7e51 /layouts/taxonomy
parent7639927bd515a5175e6a6ccb3fe49c410dea0f10 (diff)
fix: fix icon css bug
Diffstat (limited to 'layouts/taxonomy')
-rw-r--r--layouts/taxonomy/list.html4
-rw-r--r--layouts/taxonomy/terms.html2
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>&nbsp;{{ .Title }}
+ <i class="far fa-folder-open"></i>{{ .Title }}
{{ else if eq $taxonomy "tag" }}
- <i class="fas fa-tag"></i>&nbsp;{{ .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>&nbsp;{{ $term | humanize}}</h3>
+ <h3><i class="far fa-folder"></i>{{ $term | humanize}}</h3>
</a>
{{ range first 5 $pages }}
<article class="archive-item">