From c01c9cffb711cf3c647e68fdb417a505aa44c784 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Wed, 1 Nov 2017 22:55:58 +0800
Subject: [PATCH] feat: remove excess `ul` when the title is not starting from
`h1`
release 2.6.5
---
layouts/partials/head.html | 2 +-
layouts/partials/scripts.html | 2 +-
src/js/even.js | 12 ++++++++++++
src/package.json | 2 +-
static/dist/even.min.js | 2 +-
static/dist/even.min.js.map | 2 +-
6 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a15aa5c..b2c7523 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -57,7 +57,7 @@
{{- end }}
-
+
{{ if .Site.Params.bootcdn -}}
{{ if .Site.Params.fancybox }}{{ end }}
{{- else if .Site.Params.publicCDN.enable -}}
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index e2c7314..541811b 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -13,7 +13,7 @@
{{ if .Site.Params.fancybox }}{{ end }}
{{- end }}
-
+
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}