diff --git a/i18n/de.yaml b/i18n/de.yaml index 4f2d15f30..d7c43ce22 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -39,6 +39,9 @@ - id: categoriesTitle translation: "Kategorien" + +- id: seriesTitle + translation: "Artikelserien" - id: searchTitle translation: "Suche" diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 000000000..0d25039cf --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +{{ .Text | safeHTML }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 899ee631b..f594a595e 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -2,4 +2,6 @@ {{ partial "widgets/categories.html" . }} +{{ partial "widgets/series.html" . }} + {{ partial "widgets/tags.html" . }} diff --git a/layouts/partials/widgets/series.html b/layouts/partials/widgets/series.html new file mode 100644 index 000000000..d1956b6b0 --- /dev/null +++ b/layouts/partials/widgets/series.html @@ -0,0 +1,24 @@ +{{ if .Site.Params.widgets.series }} +{{ if isset .Site.Taxonomies "series" }} +{{ if not (eq (len .Site.Taxonomies.series) 0) }} +
+{{ end }} +{{ end }} +{{ end }}