🩹 Add dark style to group subheadings

This commit is contained in:
James Panther
2021-08-23 09:49:59 +10:00
parent eb5feefd2a
commit ba1a57144b
2 changed files with 6 additions and 15 deletions
+3 -1
View File
@@ -4,7 +4,9 @@
<section>
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
{{ if $.Site.Params.list.groupByYear }}
<h2 class="mt-12 text-2xl font-bold first:mt-8 text-neutral-800">{{ .Key }}</h2>
<h2 class="mt-12 text-2xl font-bold first:mt-8 text-neutral-700 dark:text-neutral-300">
{{ .Key }}
</h2>
<hr class="border-dotted border-neutral-400 w-36" />
{{ end }}
{{ range .Pages }}