aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorOlivier Roques <olivier@oroques.dev>2020-09-23 11:14:59 +0200
committerOlivier Roques <olivier@oroques.dev>2020-09-23 11:14:59 +0200
commit9a41223e9fe2336ad0ffe877e8287c084151fd2d (patch)
tree7506da68500429d4dab61f4067c53e256eb96103 /layouts/_default
parent31c7c34c8fe11acacb02e83e5c5b457704f65cd9 (diff)
Add math shortcode
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
- {{ if or .Params.math .Site.Params.math }}
+ {{ if or (.Params.math) (.Site.Params.math) }}
{{- partial "math.html" . -}}
{{ end }}
<body>