From daff20ebadd09da39409996cf0bbe54decade5fe 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 534c96d9..885dfd4b 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$", "_files$", "_cache$"] preserveTaxonomyNames = true footnotereturnlinkcontents = "↩" diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index 3a95d130..cf61951e 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -10,3 +10,5 @@ + +{{ template "_internal/disqus.html" . }}