From 5af2b92f0082f3c6b50cf3699c786ac72f891782 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 1 Dec 2019 14:54:37 +0100 Subject: #106, Upgrade to hugo 0.60 --- layouts/shortcodes/katex.html | 9 +++++---- layouts/shortcodes/mermaid.html | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'layouts') diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html index 8f440ad..c3c36aa 100644 --- a/layouts/shortcodes/katex.html +++ b/layouts/shortcodes/katex.html @@ -1,12 +1,13 @@ {{ if not (.Page.Scratch.Get "katex") }} - - - + + + {{ .Page.Scratch.Set "katex" true }} {{ end }}

- $$ {{ .Inner }} $$ + $$ {{- .Inner -}} $$

diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index f569bc4..1f3f18f 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -5,5 +5,5 @@ {{ end }}

- {{ .Inner }} + {{- .Inner -}}

-- cgit v1.2.3