From a4eb23b3dc3cbf2165ea7ee47bda75b6ba0feb00 Mon Sep 17 00:00:00 2001 From: Stephan Kulla Date: Fri, 30 Sep 2016 12:53:05 +0200 Subject: [PATCH] footer.html: Shorten if condition for MathJAX (#40) Signed-off-by: Stephan Kulla --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8f5554d5..4c915d56 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -34,7 +34,7 @@ - {{ if or (and (isset .Site.Params "math") (eq .Site.Params.math true)) (and (isset .Params "math") (eq .Params.math true)) }} + {{ if or .Params.math .Site.Params.math }}