aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/scripts.html
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/scripts.html
parent3483df9d839671bfd944fdaec6145ef87a54cdec (diff)
feat: only init toc when there are headings
release 2.6.3
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r--layouts/partials/scripts.html2
1 files changed, 1 insertions, 1 deletions
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">