From debd457538697d08261806cb0720348e47aa64ec Mon Sep 17 00:00:00 2001 From: teldra Date: Fri, 8 Apr 2022 21:13:24 +0200 Subject: [PATCH] small fixes --- config.toml | 2 +- content/{misc => }/generator.de.md | 0 content/{misc => }/not_translated.de.md | 0 themes/buha/layouts/_default/_markup/render-heading.html | 4 +++- 4 files changed, 4 insertions(+), 2 deletions(-) rename content/{misc => }/generator.de.md (100%) rename content/{misc => }/not_translated.de.md (100%) diff --git a/config.toml b/config.toml index 6607bf9..60126ac 100644 --- a/config.toml +++ b/config.toml @@ -64,7 +64,7 @@ featured = 'featured' nonprofit = true [outputs] - home = ["HTML"] + home = ["HTML", "RSS"] section = ["HTML", "RSS"] page = ["HTML"] taxonomy = ["HTML", "RSS"] diff --git a/content/misc/generator.de.md b/content/generator.de.md similarity index 100% rename from content/misc/generator.de.md rename to content/generator.de.md diff --git a/content/misc/not_translated.de.md b/content/not_translated.de.md similarity index 100% rename from content/misc/not_translated.de.md rename to content/not_translated.de.md diff --git a/themes/buha/layouts/_default/_markup/render-heading.html b/themes/buha/layouts/_default/_markup/render-heading.html index 0819929..cec2e77 100644 --- a/themes/buha/layouts/_default/_markup/render-heading.html +++ b/themes/buha/layouts/_default/_markup/render-heading.html @@ -1,6 +1,8 @@ +{{- $baseurl := .Page.Permalink | safeURL -}} +{{- $url := printf "%s#%s" $baseurl .Anchor -}} {{ .Text | safeHTML }} - + {{ "#" }}