From ce939de60b93fa66d39048ccbb2578290d22f56b 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/config.yaml | 2 +- exampleSite/layouts/partials/foot_custom.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 59b9ae11..97592c37 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -3,7 +3,7 @@ languageCode: "en-us" title: "A minimal Hugo website" theme: "hugo-xmin" googleAnalytics: "" -disqusShortname: "" +disqusShortname: "yihui" ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"] footnotereturnlinkcontents: "↩" diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index 4f9aaa21..a5447919 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -2,3 +2,5 @@ + +{{ template "_internal/disqus.html" . }}