morgan.mcmillian.dev/layouts/index.html

22 lines
583 B
HTML

{{ define "main" }}
{{ .Content }}
{{ range .Paginator.Pages }}
<article class="post">
<header class="post__header">
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<p class="post__meta">
<!-- {{ .Params.author }}, -->
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
</p>
</header>
<section class="post__summary">
<p>{{ .Summary }}</p>
</section>
</article>
{{ end }}
<a href="/post/">more posts</a>
{{ end }}