mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Added tracks layout
This commit is contained in:
parent
b3373844ab
commit
b663bb8028
4 changed files with 65 additions and 1 deletions
20
layouts/tracks/list.html
Normal file
20
layouts/tracks/list.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{ define "main"}}
|
||||
{{ partial "header.html" . }}
|
||||
<main>
|
||||
{{ partial "search.html" . }}
|
||||
<!-- contents -->
|
||||
<div id="feedList">
|
||||
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
||||
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
||||
{{ range .Pages }}
|
||||
<article class="h-entry">
|
||||
<h2 class='title p-name'><a class="u-url" href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
{{ .Scratch.Set "noDateUpdate" true }}
|
||||
{{ partial "date.html" . }}
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue