diff options
author | morph <morph@posteo.de> | 2020-05-28 12:47:41 +0300 |
---|---|---|
committer | morph <morph@posteo.de> | 2020-05-28 12:47:41 +0300 |
commit | c55e178d95f456b4dd4b937a3b73095e02316a24 (patch) | |
tree | 98788d9d4002f63815c5348d1f056e97f85ccd61 | |
parent | 98f378452986d685266dec437cb7cf61fc41c3c4 (diff) |
move position of tags on single page
-rw-r--r-- | layouts/_default/single.html | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7920d00..1de478c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,18 +3,13 @@ <article> <h1>{{ .Title }}</h1> <b><time>{{ .Date.Format "02.01.2006 15:04" }}</time></b> + {{ range .Params.tags }} + <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> + {{ end }} + <div> {{ .Content }} </div> - {{ with .Params.tags }} - <div> - <ul id="tags"> - {{ range . }} - <li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li> - {{ end }} - </ul> - </div> - {{ end }} </article> </main> {{ partial "sidebar.html" . }} |