smol/layouts/_default/single.html
2020-05-26 03:04:43 +02:00

21 lines
429 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>
{{ partial "sidebar.html" . }}
{{ end }}