morgan.mcmillian.dev/layouts/index.html

23 lines
583 B
HTML
Raw Normal View History

2023-02-12 14:12:18 +00:00
{{ 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 }}