mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
🐹 Add date format option
This commit is contained in:
parent
af2b170429
commit
a49f7bd2db
3 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{{ define "main"}}
|
||||
<div>
|
||||
{{ range $index, $value := .Pages.GroupByDate "January, 2006" }}
|
||||
{{ range $index, $value := .Pages.GroupByDate .Site.Params.listPageDateFormat }}
|
||||
{{ if (ne $index 0) }}
|
||||
<hr class="separator">
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue