Prefix term with taxonomy title (#369)

* Prefix term with taxonomy title

Fix list layout to properly prefix a term with the taxonomy title.

* Replace taxonomy with term kind in title

* Set minimal version for updated taxonomy kinds

* Set minimal version for updated taxonomy kinds

* Update CONTRIBUTORS.md
This commit is contained in:
Robert
2020-07-27 01:33:41 +02:00
committed by GitHub
parent 0678ffe608
commit 87f9e89048
4 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{{ define "title" }}
{{- if eq .Kind "taxonomy" -}}
{{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}}
{{- print ": " -}}
{{- end -}}

View File

@@ -1,6 +1,6 @@
<section class="container list">
<h1 class="title">
{{- if eq .Kind "taxonomy" -}}
{{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}}
{{- print ": " -}}
{{- end -}}

View File

@@ -3,10 +3,10 @@
command = "make prepare && hugo --source demo --baseURL $URL"
[context.production.environment]
HUGO_VERSION = "0.57.0"
HUGO_VERSION = "0.73.0"
[context.deploy-preview]
command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.57.0"
HUGO_VERSION = "0.73.0"

View File

@@ -19,7 +19,7 @@ features = [
"single-column",
"syntax-highlighting"
]
min_version = "0.57"
min_version = "0.73.0"
[author]
name = "Luiz F. A. de Prá"