a bunch of updating

This commit is contained in:
Chris Cochrun 2022-10-28 14:17:15 -05:00
parent 56d9a3ff11
commit 644ba66eae
56 changed files with 96 additions and 23 deletions

View file

@ -26,17 +26,10 @@
</section>
{{ if gt .Pages 0 }}
<section class="space-y-10 w-full">
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
<h2 class="mt-12 text-2xl font-bold text-neutral-700 first:mt-8 dark:text-neutral-300">
{{ .Key }}
</h2>
<hr class="border-dotted w-36 border-neutral-400" />
{{ end }}
<div height=20px></div>
{{ range .Pages }}
{{ partial "article-link.html" . }}
{{ end }}
{{ end }}
</section>
{{ partial "pagination.html" . }}
{{ else }}