Initial commit with bare bones layout and a single post

This commit is contained in:
Campbell Alden 2022-08-17 17:55:15 +09:00
commit 7f987f04ed
18 changed files with 120 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{{ define "main" }}
<article>
<header>
<h1>{{.Title}}</h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
</article>
<ul>
<!-- Ranges through content/posts/*.md -->
{{ range .Pages }}
<li>
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
</li>
{{ end }}
</ul>
{{ end }}