mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
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:
@@ -1,5 +1,5 @@
|
|||||||
{{ define "title" }}
|
{{ define "title" }}
|
||||||
{{- if eq .Kind "taxonomy" -}}
|
{{- if eq .Kind "term" -}}
|
||||||
{{- i18n .Data.Singular | title -}}
|
{{- i18n .Data.Singular | title -}}
|
||||||
{{- print ": " -}}
|
{{- print ": " -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<section class="container list">
|
<section class="container list">
|
||||||
<h1 class="title">
|
<h1 class="title">
|
||||||
{{- if eq .Kind "taxonomy" -}}
|
{{- if eq .Kind "term" -}}
|
||||||
{{- i18n .Data.Singular | title -}}
|
{{- i18n .Data.Singular | title -}}
|
||||||
{{- print ": " -}}
|
{{- print ": " -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
command = "make prepare && hugo --source demo --baseURL $URL"
|
command = "make prepare && hugo --source demo --baseURL $URL"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.57.0"
|
HUGO_VERSION = "0.73.0"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
|
command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.57.0"
|
HUGO_VERSION = "0.73.0"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ features = [
|
|||||||
"single-column",
|
"single-column",
|
||||||
"syntax-highlighting"
|
"syntax-highlighting"
|
||||||
]
|
]
|
||||||
min_version = "0.57"
|
min_version = "0.73.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Luiz F. A. de Prá"
|
name = "Luiz F. A. de Prá"
|
||||||
|
|||||||
Reference in New Issue
Block a user