mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
🐼 first commit
This commit is contained in:
commit
8c7ec3df80
27 changed files with 2823 additions and 0 deletions
14
layouts/_default/list.html
Normal file
14
layouts/_default/list.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "main"}}
|
||||
<div>
|
||||
{{ range $index, $value := .Pages.GroupByDate "January, 2006" }}
|
||||
{{ if (ne $index 0) }}
|
||||
<hr class="separator">
|
||||
{{ end }}
|
||||
<p class="date">{{ .Key }}</p>
|
||||
{{ range .Pages }}
|
||||
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue