Add article pagination links and display params

This commit is contained in:
James Panther
2021-08-14 14:44:34 +10:00
parent 074b1ff11d
commit c24b8ab2e1
9 changed files with 114 additions and 40 deletions
+6 -4
View File
@@ -7,10 +7,12 @@
<a class="text-xl font-medium hover:underline" href="{{ .Page.Permalink }}"
>{{ .Page.Title }}</a
>
<span class="text-base text-gray-400">
<span class="px-1">&middot;</span>
{{ .Count }}
</span>
{{ if $.Site.Params.taxonomy.showTermCount | default true }}
<span class="text-base text-gray-400">
<span class="px-1">&middot;</span>
{{ .Count }}
</span>
{{ end }}
</h2>
</article>
{{ end }}