aboutsummaryrefslogtreecommitdiff
path: root/themes/even/layouts/post/single.html
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2018-11-06 19:32:51 +0000
committerJulio Capote <jcapote@gmail.com>2018-11-06 19:32:51 +0000
commit63262d56bd2f35017f564dbbba971d93d8eaba75 (patch)
treed6706f2427974bdadeac6419cd08175632d432f5 /themes/even/layouts/post/single.html
parentafb55727c56c72137c64f83fcd88c9de630db2e3 (diff)
downloadcapotej.com-63262d56bd2f35017f564dbbba971d93d8eaba75.tar.gz
modify theme a bit, move tags to top
Diffstat (limited to 'themes/even/layouts/post/single.html')
-rw-r--r--themes/even/layouts/post/single.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/themes/even/layouts/post/single.html b/themes/even/layouts/post/single.html
index 61fbf8c..9c9d257 100644
--- a/themes/even/layouts/post/single.html
+++ b/themes/even/layouts/post/single.html
@@ -30,6 +30,15 @@
<!-- Outdated Info Warning -->
{{ partial "post/outdated-info-warning.html" . }}
+ {{ with .Params.tags -}}
+ <div class="post-tags">
+ {{ range . }}
+ <a href="{{ "tags" | relLangURL }}/{{ . | urlize }}/">{{ . }}</a>
+ {{ end }}
+ </div>
+ {{- end }}
+ <hr/>
+
<!-- Content -->
<div class="post-content">
{{ .Content }}
@@ -42,13 +51,6 @@
{{ partial "post/reward.html" . }}
<footer class="post-footer">
- {{ with .Params.tags -}}
- <div class="post-tags">
- {{ range . }}
- <a href="{{ "tags" | relLangURL }}/{{ . | urlize }}/">{{ . }}</a>
- {{ end }}
- </div>
- {{- end }}
<!-- Post Pagination -->
<nav class="post-nav">