aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-10-12 23:01:06 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-10-12 23:01:06 +0800
commit0ba82dd1768e941a5c7014b47a5eacaaefcc4f58 (patch)
tree5028ec809874af388fe88a70df4cd49c8322e876 /layouts/partials
parent3483df9d839671bfd944fdaec6145ef87a54cdec (diff)
feat: only init toc when there are headings
release 2.6.3
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/partials/scripts.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 853aabf..892a857 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -51,7 +51,7 @@
<link rel="mask-icon" href="{{ "safari-pinned-tab.svg" | relURL }}" color="#5bbad5">
<!-- Styles -->
-<link href="{{ "dist/even.min.css?v=2.6.2" | relURL }}" rel="stylesheet">
+<link href="{{ "dist/even.min.css?v=2.6.3" | relURL }}" rel="stylesheet">
{{ if .Site.Params.bootcdn -}}
{{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }}
{{- else if .Site.Params.publicCDN.enable -}}
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 285b53b..f966eb2 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -13,7 +13,7 @@
<script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script>
{{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }}
{{- end }}
-<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.2" | relURL }}"></script>
+<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.3" | relURL }}"></script>
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}
<script type="text/javascript">