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>2020-01-31 20:52:27 +0300
committerDillon <dillonzq@outlook.com>2020-01-31 20:52:27 +0300
commit8aa4b6dce6da9601411c7caa07e6352c98ddc4f4 (patch)
tree15ee677595ab544b8af442b2b4caf22ce66aed7d /layouts/taxonomy
parent2a7611b5aec71c5b42984be947934d4c074a092e (diff)
feat(author): add author_link and fix highlight bug
Diffstat (limited to 'layouts/taxonomy')
-rw-r--r--layouts/taxonomy/list.html4
-rw-r--r--layouts/taxonomy/terms.html10
2 files changed, 8 insertions, 6 deletions
diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html
index a76cb9f..7f5baa0 100644
--- a/layouts/taxonomy/list.html
+++ b/layouts/taxonomy/list.html
@@ -7,9 +7,9 @@
<h2 class="post-title animated pulse faster">
{{- $taxonomy := .Data.Singular -}}
{{- if eq $taxonomy "category" -}}
- <i class="far fa-folder-open fa-fw"></i>{{ .Title }}
+ <i class="far fa-folder-open fa-fw"></i>&nbsp;{{ .Title }}
{{- else if eq $taxonomy "tag" -}}
- <i class="fas fa-tag fa-fw"></i>{{ .Title }}
+ <i class="fas fa-tag fa-fw"></i>&nbsp;{{ .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 d0fae0c..38679fe 100644
--- a/layouts/taxonomy/terms.html
+++ b/layouts/taxonomy/terms.html
@@ -20,10 +20,12 @@
{{- $pages := .Pages -}}
{{- with $.Site.GetPage "taxonomy" (printf "%s/%s" $type $term) -}}
<div class="card-item">
- <div class="categories">
- <a href="{{ .Permalink }}">
- <h3><i class="far fa-folder fa-fw"></i>{{ $term | humanize}}</h3>
- </a>
+ <div class="card-item-wrapper">
+ <h3 class="card-item-title">
+ <a href="{{ .Permalink }}">
+ <i class="far fa-folder fa-fw"></i>&nbsp;{{ $term | humanize}}
+ </a>
+ </h3>
{{- range first 5 $pages -}}
<article class="archive-item">
<a href="{{ .Permalink }}" class="archive-item-link">