From 077259171bb2b1bff80ab54c9dd01591c1d04196 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Mon, 19 Jun 2017 23:52:10 -0500 Subject: [PATCH] enable Disqus comments --- exampleSite/hugo.yaml | 2 +- exampleSite/layouts/partials/foot_custom.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index b933d55..f568263 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -3,7 +3,7 @@ languageCode: "en-us" title: "A minimal Hugo website" theme: "hugo-xmin" googleAnalytics: "" -disqusShortname: "" +disqusShortname: "yihui" ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$"] footnotereturnlinkcontents: "↩" diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index d8a992a..3603b3d 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -2,3 +2,5 @@ + +{{ template "_internal/disqus.html" . }}