Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-06-20 07:52:10 +0300
committerYihui Xie <xie@yihui.name>2022-06-15 06:47:50 +0300
commitce939de60b93fa66d39048ccbb2578290d22f56b (patch)
tree2769f5988ba62eb7c152f8abaacb4064af2f21da
parentae0bdbeb103133c15936fd15d77f9bba6119e59d (diff)
enable Disqus commentsfeature/disqus
-rw-r--r--exampleSite/config.yaml2
-rw-r--r--exampleSite/layouts/partials/foot_custom.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 59b9ae1..97592c3 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 4f9aaa2..a544791 100644
--- a/exampleSite/layouts/partials/foot_custom.html
+++ b/exampleSite/layouts/partials/foot_custom.html
@@ -2,3 +2,5 @@
<script defer src="//mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<script defer src="//yihui.org/js/center-img.js"></script>
+
+{{ template "_internal/disqus.html" . }}