diff options
author | Julio Capote <jcapote@gmail.com> | 2018-11-06 19:32:51 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2018-11-06 19:32:51 +0000 |
commit | 63262d56bd2f35017f564dbbba971d93d8eaba75 (patch) | |
tree | d6706f2427974bdadeac6419cd08175632d432f5 /themes/even/layouts/post | |
parent | afb55727c56c72137c64f83fcd88c9de630db2e3 (diff) | |
download | capotej.com-63262d56bd2f35017f564dbbba971d93d8eaba75.tar.gz |
modify theme a bit, move tags to top
Diffstat (limited to '')
-rw-r--r-- | themes/even/layouts/post/single.html | 16 |
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"> |