Add blog posts (+ write first one)

This commit is contained in:
David Eisinger
2023-03-02 12:39:47 -05:00
parent 4ba1cdb37e
commit 5db4be1d70
8 changed files with 87 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
{{ define "main" }}
<section>
<hr>
{{ range (where .Site.RegularPages "Type" "in" "posts") }}
<h3>
<a href="{{ .Permalink }}">{{ .Title }}</a>
{{ .Date | time.Format "(2006-01-02)" }}
</h3>
{{ end }}
</section>
{{ end }}