From ae9ef70ec824cf084f9c67f98ba4279051aec68c Mon Sep 17 00:00:00 2001 From: Julien Schmidt <js@stusta.net> Date: Fri, 2 Nov 2018 22:25:51 +0100 Subject: [PATCH] fix impressum formatting --- content/impressum.md | 1 + layouts/shortcodes/dl.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content/impressum.md b/content/impressum.md index b7eb6ea..075f201 100644 --- a/content/impressum.md +++ b/content/impressum.md @@ -36,6 +36,7 @@ Der Verein ist telefonisch nicht zu erreichen. {{% vorstand %}} **Registergericht:** Amtsgericht München + **Vereinsregisternummer**: 16245 ## Über diese Webseite diff --git a/layouts/shortcodes/dl.html b/layouts/shortcodes/dl.html index 39f6621..d5ac41a 100644 --- a/layouts/shortcodes/dl.html +++ b/layouts/shortcodes/dl.html @@ -1,6 +1,6 @@ <dl> <dt>{{ .Get "title" }}</dt> <dd> - {{ .Inner }} + {{ replace .Inner "\n" "<br/>" | safeHTML }} </dd> -</dl> \ No newline at end of file +</dl> -- GitLab