Initial commit

This commit is contained in:
Joe Roe 2021-03-05 10:44:42 +01:00
commit 70f2d625fa
47 changed files with 1115 additions and 0 deletions

22
layouts/post/list.html Normal file
View file

@ -0,0 +1,22 @@
{{ define "main" }}
<header class="content__header">
<h1>{{ .Title | markdownify }}</h1>
{{ .Content }}
</header>
{{ range .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">
{{ .Summary }}
</section>
</article>
{{ end }}
{{ end }}