From 1d034a9c38060035204254ac316ce4337d5b2902 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.toml | 2 +- exampleSite/layouts/partials/foot_custom.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7147426..0ee6fc3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,7 +3,7 @@ languageCode = "en-us" title = "A minimal Hugo website" theme = "hugo-xmin" googleAnalytics = "" -disqusShortname = "" +disqusShortname = "yihui" ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] footnotereturnlinkcontents = "↩" diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index 270a44d..7042f41 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -2,3 +2,5 @@ + +{{ template "_internal/disqus.html" . }}