Simple feed tmeplate for now

still reqiures tons of styling
This commit is contained in:
2023-09-23 01:44:56 -07:00
parent b51562c6b9
commit 3fec682c53
5 changed files with 38 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
{{ define "main" }}
{{ range .Pages.ByDate.Reverse }}
<div class="card">
<div class="card-header postcard">
<h5 class="card-title">{{ .Title }}</h5>
</div>
<div class="card-body postcard">
<p class="card-text">{{ .Description }}</p>
</div>
<div class="card-footer text-muted postcard">
{{ .Date | time.Format ":date_short" }} {{ .Date | time.Format ":time_long"}}
</div>
</div>
{{ end }}
{{ end }}