Metadata raedy in list pages
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user