From 28b4c8a5dd8ca630b9eaed009e4bd611c7567375 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Tue, 13 Feb 2018 16:19:47 +0800
Subject: [PATCH] refactor: configure mathjax using plain javascript
If you use `x-mathjax-config` with CSP enabled, you will need to add 'unsafe-eval' to your CSP policy.
---
layouts/partials/scripts.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 89c087a..3168f1d 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -12,14 +12,14 @@
{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }}
-
{{- end }}