Metadata raedy in list pages

This commit is contained in:
2023-10-01 21:45:41 -07:00
parent 8bc18dcf99
commit 9e1585565c
9 changed files with 217 additions and 10 deletions

View File

@@ -1,5 +1,10 @@
{{ define "main" }}
{{ partial "minimal-navbar.html" }}
{{ if eq .Page.Path "feed" }}
<h5>/feed</h5>
{{ else if eq .Page.Path "dev" }}
<h5>/dev</h5>
{{ end }}
{{ $colors := slice "cyan" "yellow" "pink"}}
{{ $opts := len $colors }}
{{ range $i, $page := .Pages.ByDate.Reverse }}