hugo-theme-tiles/layouts/_default/single.html

10 lines
315 B
HTML
Raw Normal View History

2019-10-26 00:15:49 +02:00
{{ define "main" }}
<article class="post">
<h1><a href="{{ .Permalink }}">{{ .Title }}</a> {{ if .Draft }}(Draft){{ end }}</h1>
<div class="post-content">{{ .Content | safeHTML }}</div>
<p class="meta">Posted on <span class="postdate">{{ .Date.Format "02. January 2006" }}</span></p>
</article>
{{ end }}