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:
authorVivek R <vividvilla@gmail.com>2019-10-19 15:37:05 +0300
committerGitHub <noreply@github.com>2019-10-19 15:37:05 +0300
commit4f0c28af2e9c9bb6a3a779013dfcff632545262b (patch)
treedec01668434c0913874b3622895998b488ac0f10 /layouts
parentedf7470d61a05ebe09f09f763826a1fc53aaaccc (diff)
parent28c2f28a13ea427329c32ef2043f48c42e46583b (diff)
Merge pull request #19 from cgiacomi/feature/posttags
feat: add tag list to post
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 61ec209..2283e9a 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -14,6 +14,20 @@
{{ .Content }}
</div>
+ <div class="post-tags">
+ {{ if ne .Type "page" }}
+ {{ if gt .Params.tags 0 }}
+ <nav class="nav tags">
+ <ul class="flat">
+ {{ range .Params.tags }}
+ <li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
+ {{ end }}
+ </ul>
+ </nav>
+ {{ end }}
+ {{ end }}
+ </div>
+
{{- $.Scratch.Set "isDisqus" true -}}
{{- if and (isset .Params "type") (in .Site.Params.disableDisqusTypes .Params.type) -}}