Move to 'journal'

This commit is contained in:
David Eisinger
2023-03-02 22:33:20 -05:00
parent 5db4be1d70
commit 52fc1f6956
7 changed files with 49 additions and 25 deletions

View File

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

View File

@@ -0,0 +1,19 @@
{{ define "main" }}
<hr>
<h2>{{ .Title }}</h2>
<h3>
Posted {{ .Date | time.Format "January 1, 2006" }}
{{ if .Params.tags }}
under
{{ range .Params.tags }}
<a href="/tags/{{ . | urlize }}">#{{ . }}</a>
{{ end }}
{{ end }}
</h3>
{{ .Content }}
{{ end }}