From 9a41223e9fe2336ad0ffe877e8287c084151fd2d Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Wed, 23 Sep 2020 11:14:59 +0200 Subject: Add math shortcode --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 86eee86..cb56faf 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ {{- partial "head.html" . -}} - {{ if or .Params.math .Site.Params.math }} + {{ if or (.Params.math) (.Site.Params.math) }} {{- partial "math.html" . -}} {{ end }} -- cgit v1.2.3