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

github.com/vividvilla/ezhil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgiacomi <christiangiacomi@gmail.com>2019-10-12 18:39:40 +0300
committercgiacomi <christiangiacomi@gmail.com>2019-10-12 18:39:40 +0300
commit470638b4bc911ff2127ea057992ab13f4e4c17d6 (patch)
treeb795cdc1e6eb38359f0e17360681180ef0ac82c2 /layouts
parent4ccf226f91d9d2cd2045d36a521291bf0f9bb4b1 (diff)
fix: move tags to bottom of post
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 58c3828..496a564 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,23 +8,24 @@
<div class="post-header">
<h1 class="title">{{ .Title }}</h1>
<div class="meta">Posted at &mdash; {{ dateFormat "Jan 2, 2006" .Date }}</div>
- <div class="post-tags">
- <small>
- {{ if ne .Type "page" }}
- {{ if gt .Params.tags 0 }}
- {{ range .Params.tags }}
- <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
- {{ end }}
- {{ end }}
- {{ end }}
- </small>
- </div>
</div>
<div class="markdown">
{{ .Content }}
</div>
+ <div class="post-tags">
+ <small>
+ {{ if ne .Type "page" }}
+ {{ if gt .Params.tags 0 }}
+ {{ range .Params.tags }}
+ <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ </small>
+ </div>
+
{{- $.Scratch.Set "isDisqus" true -}}
{{- if and (isset .Params "type") (in .Site.Params.disableDisqusTypes .Params.type) -}}