mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-03 23:06:25 -04:00
🔀 Merge pull request #145 from igalarzab/patch-1
Use the group by year var in the term partial
This commit is contained in:
@@ -14,8 +14,10 @@
|
||||
{{ end }}
|
||||
<section>
|
||||
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
|
||||
<h2 class="mt-12 text-2xl font-bold first:mt-8">{{ .Key }}</h2>
|
||||
<hr class="border-dotted border-neutral-400 w-36" />
|
||||
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
|
||||
<h2 class="mt-12 text-2xl font-bold first:mt-8">{{ .Key }}</h2>
|
||||
<hr class="border-dotted border-neutral-400 w-36" />
|
||||
{{ end }}
|
||||
{{ range .Pages }}
|
||||
{{ partial "article-link.html" . }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user