From 2b4a3737d62e8ec7deca3e855b23b0e44fd939a8 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Thu, 22 Feb 2018 15:53:33 +0800
Subject: fix: mathjax overflow for displayed mathematics (#32)
release 3.0.1
---
layouts/partials/head.html | 2 +-
layouts/partials/scripts.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'layouts')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index fb8c284..960f9c0 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -61,7 +61,7 @@
{{- end }}
-
+
{{ if .Site.Params.publicCDN.enable -}}
{{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCss | safeHTML }}{{ end }}
{{- else -}}
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 3168f1d..fc254b5 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -9,7 +9,7 @@
{{ if .Site.Params.fancybox }}{{ end }}
{{- end }}
-
+
{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }}