From b9a48f1794569e38e160f017c6dc8f84f31b4f76 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Fri, 1 May 2020 20:23:50 +0900 Subject: [PATCH 1/2] Do not distribute `mermaid.js` for the list page. --- layouts/partials/footer.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index fb69cf3..369cd16 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -11,9 +11,6 @@ - - - {{ with .Site.Params.analytics }} + + +{{ with .Site.Params.analytics }}{{ end }} + + + diff --git a/layouts/post/single.html b/layouts/post/single.html index d22fc7d..9afa3c3 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -29,4 +29,4 @@ {{ end }} -{{ partial "footer.html" . }} +{{ partial "footer-content.html" . }} diff --git a/layouts/quotes/single.html b/layouts/quotes/single.html index d22fc7d..9afa3c3 100644 --- a/layouts/quotes/single.html +++ b/layouts/quotes/single.html @@ -29,4 +29,4 @@ {{ end }} -{{ partial "footer.html" . }} +{{ partial "footer-content.html" . }} diff --git a/layouts/travel/single.html b/layouts/travel/single.html index d22fc7d..9afa3c3 100644 --- a/layouts/travel/single.html +++ b/layouts/travel/single.html @@ -29,4 +29,4 @@ {{ end }} -{{ partial "footer.html" . }} +{{ partial "footer-content.html" . }}