Support descriptions for taxonomies

This commit is contained in:
BBaoVanC 2021-11-12 23:14:13 -06:00
parent 145f23f22f
commit 05100679e2
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
4 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
title: {{ replace .Name "-" " " | title }}
description: >-
A short description about the author.
---

View File

@ -0,0 +1,8 @@
---
title: {{ replace .Name "-" " " | title }}
description: >-
Some information about the series.
---

View File

@ -0,0 +1,8 @@
---
title: {{ replace .Name "-" " " | title }}
description: >-
A description of what the tag is.
---

View File

@ -34,6 +34,12 @@
{{ else }}
{{ with .Description }}
<div class="term-description">
<p>{{ . | markdownify }}</p>
</div>
{{ end }}
{{ $items := .Paginator.Pages }}
{{ if eq .Data.Singular "series" }}
{{ $items = .Paginator.Pages.Reverse }}