Skip to content

Commit 522a062

Browse files
committed
enable Disqus comments
1 parent d776326 commit 522a062

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$"]
88
footnotereturnlinkcontents: ""
99

exampleSite/layouts/partials/foot_custom.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
<script src="//cdn.jsdelivr.net/combine/npm/katex/dist/katex.min.js,npm/katex/dist/contrib/auto-render.min.js,npm/@xiee/utils/js/render-katex.js" defer></script>
44

55
<script src="//cdn.jsdelivr.net/npm/@xiee/utils/js/center-img.min.js" defer></script>
6+
7+
{{ template "_internal/disqus.html" . }}

0 commit comments

Comments
 (0)