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

github.com/colorchestra/smol.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html13
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" . }}