smol/layouts/_default/single.html

25 lines
486 B
HTML
Raw Normal View History

{{ define "main" }}
2016-10-14 20:41:10 +00:00
<main>
<article>
<h1>{{ .Title }}</h1>
<time>{{ .Date.Format "02.01.2006 15:04" }}</time>
<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
<div>
{{ template "_internal/disqus.html" . }}
</div>
</article>
</main>
{{ partial "sidebar.html" . }}
{{ end }}