mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 19:26:40 +02:00

committed by
Michael Noronha

parent
915f2000ff
commit
944fd12cea
@@ -14,12 +14,14 @@
|
||||
{{ $sectionTitle := .Title }}
|
||||
<ul>
|
||||
{{ range .Data.Pages.GroupByDate "Jan, 2006" "desc"}}
|
||||
{{ if not (and (eq (len .Pages) 1) (eq (index .Pages 0).Title $sectionTitle)) }}
|
||||
<li class="groupby">{{ .Key }}</li>
|
||||
{{ range sort .Pages "Date" "desc" }}
|
||||
{{ if (not (eq $sectionTitle .Title)) }}
|
||||
{{ partial "li.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user