From f689d37d4fb871d989c760d7d2e8538a44f59228 Mon Sep 17 00:00:00 2001 From: KevinQiu <215630115@qq.com> Date: Wed, 11 Dec 2019 05:32:24 +0800 Subject: [PATCH] Fix the formulas bug, make it inline possible --- layouts/partials/head.html | 3 +++ layouts/partials/math.html | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 layouts/partials/math.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 586fa9a0..6041547a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -53,4 +53,7 @@ {{ else -}} {{ $res := resources.Get "css/lib/animate/animate.min.css" | resources.Minify -}} +{{ end }} +{{ if or .Params.math .Site.Params.math }} + {{ partial "math.html" . }} {{ end }} \ No newline at end of file diff --git a/layouts/partials/math.html b/layouts/partials/math.html new file mode 100644 index 00000000..feb09e65 --- /dev/null +++ b/layouts/partials/math.html @@ -0,0 +1,10 @@ + \ No newline at end of file