Initial commit

This commit is contained in:
Nathan Anderson
2022-09-01 18:42:28 -06:00
commit 7bf3569750
119 changed files with 5191 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
{{ define "main" }}
<div class="container">
<h1>All {{ .Type }}</h1>
<ul>
{{ range .Data.Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
+18
View File
@@ -0,0 +1,18 @@
{{ define "main" }}
<div class="container">
<h1>All posts for {{ .Type | singularize }} "{{ .Title }}"</h1>
</br>
{{ range .Data.Pages }}
<div class="post-entry">
<a href="{{ .Permalink }}">
<div style="display:flex;flex-direction:row; justify-content: space-between;">
<h3>{{ .Title }}</h3>
<p>{{ .Date | time.Format ":date_medium" }}</p>
</div>
</br>
<p>{{ .Summary }}</p>
</a>
</div>
{{ end }}
</div>
{{ end}}