mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Support descriptions for taxonomies
This commit is contained in:
parent
145f23f22f
commit
05100679e2
8
archetypes/authors/_index.md
Normal file
8
archetypes/authors/_index.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
title: {{ replace .Name "-" " " | title }}
|
||||||
|
|
||||||
|
description: >-
|
||||||
|
A short description about the author.
|
||||||
|
|
||||||
|
---
|
8
archetypes/series/_index.md
Normal file
8
archetypes/series/_index.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
title: {{ replace .Name "-" " " | title }}
|
||||||
|
|
||||||
|
description: >-
|
||||||
|
Some information about the series.
|
||||||
|
|
||||||
|
---
|
8
archetypes/tags/_index.md
Normal file
8
archetypes/tags/_index.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
title: {{ replace .Name "-" " " | title }}
|
||||||
|
|
||||||
|
description: >-
|
||||||
|
A description of what the tag is.
|
||||||
|
|
||||||
|
---
|
@ -34,6 +34,12 @@
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
||||||
|
|
||||||
|
{{ with .Description }}
|
||||||
|
<div class="term-description">
|
||||||
|
<p>{{ . | markdownify }}</p>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ $items := .Paginator.Pages }}
|
{{ $items := .Paginator.Pages }}
|
||||||
{{ if eq .Data.Singular "series" }}
|
{{ if eq .Data.Singular "series" }}
|
||||||
{{ $items = .Paginator.Pages.Reverse }}
|
{{ $items = .Paginator.Pages.Reverse }}
|
||||||
|
Loading…
Reference in New Issue
Block a user