You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
761 B

{{ define "main" }}
<section>
{{ range .Paginator.Pages }}
<article class="post">
<h2>
<span class="postdate">{{ .Date.Format "2006-01-02" }}</span>
<a class="title" href="{{ .Permalink }}">{{ .Title }}</a>
{{ if .Draft }}<span>(Draft)</span>{{ end }}
</h2>
<div class="post-content">
<p>{{ .Summary | plainify | safeHTML }} {{ if .Truncated }} … {{ end }}</p>
</div>
<!-- <p class="meta">Posted on <span class="postdate">{{ .Date.Format "02. January 2006" }}</span></p> -->
</article>
{{ end }}
</section>
{{ partial "pagination.html" . }}
{{ end }}