smol/layouts/_default/single.html
2020-05-26 17:22:53 +02:00

20 lines
398 B
HTML

{{ define "main" }}
<main>
<article>
<h1>{{ .Title }}</h1>
<b><time>{{ .Date.Format "02.01.2006 15:04" }}</time></b>
<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>
{{ end }}