Add post list

This commit is contained in:
Tyler Perkins
2023-07-15 20:59:44 -04:00
parent fb64b9802f
commit 21d70b4a8a
9 changed files with 181 additions and 26 deletions

View File

@@ -1,8 +1,11 @@
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
<div>
{{ .Content }}
</div>
</article>
<div class="page-header dashed-bottom">
<h1 data-value="{{ .Title }}" class="scramble">{{ .Title }}</h1>
<small class="post-list-date">{{ .Date.Format "January 2, 2006" }}</small>
</div>
<article>
<div class="post clearfix">
{{ .Content }}
</div>
</article>
{{ end }}