From e43d25f4f72f96ac208b0e74c34c7fabfee996a4 Mon Sep 17 00:00:00 2001 From: z1glr Date: Sat, 21 Jun 2025 01:33:39 +0200 Subject: [PATCH] added support for latex --- archetypes/docs.md | 1 + hugo.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/archetypes/docs.md b/archetypes/docs.md index c1ff94a..de48e10 100644 --- a/archetypes/docs.md +++ b/archetypes/docs.md @@ -2,4 +2,5 @@ title: '{{ replace .File.ContentBaseName "-" " " | title }}' weight: 50 draft: true +math: false --- diff --git a/hugo.yaml b/hugo.yaml index fd84458..6f3da42 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -2,6 +2,9 @@ baseURL: https://johannes-dokumentation.z1glr.de title: Johanneskirche Bühl - Technik defaultContentLanguage: de +ignoreFiles: + - content/archetypes/* + module: imports: - path: github.com/imfing/hextra @@ -52,3 +55,12 @@ params: sortOrder: desc article: displayPagination: true + +markup: + goldmark: + extensions: + passthrough: + delimiters: + block: [['\[', '\]'], ["$$", "$$"]] + inline: [['\(', '\)']] + enable: true