Skip to content

Commit ce939de

Browse files
committed
enable Disqus comments
1 parent ae0bdbe commit ce939de

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

exampleSite/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ languageCode: "en-us"
33
title: "A minimal Hugo website"
44
theme: "hugo-xmin"
55
googleAnalytics: ""
6-
disqusShortname: ""
6+
disqusShortname: "yihui"
77
ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"]
88
footnotereturnlinkcontents: ""
99

exampleSite/layouts/partials/foot_custom.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
<script defer src="//mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
33

44
<script defer src="//yihui.org/js/center-img.js"></script>
5+
6+
{{ template "_internal/disqus.html" . }}

0 commit comments

Comments
 (0)