From 0ba82dd1768e941a5c7014b47a5eacaaefcc4f58 Mon Sep 17 00:00:00 2001
From: olOwOlo <26087907+olOwOlo@users.noreply.github.com>
Date: Thu, 12 Oct 2017 23:01:06 +0800
Subject: feat: only init toc when there are headings
release 2.6.3
---
 layouts/partials/head.html    | 2 +-
 layouts/partials/scripts.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'layouts')
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 @@
 
 
 
-
+
 {{ 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 285b53b..f966eb2 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) }}