smolsite/layouts/_default/single.html

22 lines
429 B
HTML
Raw Normal View History

{{ define "main" }}
2016-10-14 20:41:10 +00:00
<main>
<article>
<h1>{{ .Title }}</h1>
2020-05-26 01:04:43 +00:00
<b><time>{{ .Date.Format "02.01.2006 15:04" }}</time></b>
2016-10-14 20:41:10 +00:00
<div>
{{ .Content }}
</div>
{{ with .Params.tags }}
2016-10-14 20:41:10 +00:00
<div>
<ul id="tags">
{{ range . }}
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
2016-10-14 20:41:10 +00:00
{{ end }}
</ul>
</div>
{{ end }}
2016-10-14 20:41:10 +00:00
</article>
</main>
{{ partial "sidebar.html" . }}
{{ end }}