Skip to content

Commit

Permalink
enable Disqus comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Mar 4, 2024
1 parent b76b60e commit 0772591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion exampleSite/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ languageCode: "en-us"
title: "A minimal Hugo website"
theme: "hugo-xmin"
googleAnalytics: ""
disqusShortname: ""
disqusShortname: "yihui"
ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$"]
footnotereturnlinkcontents: ""

Expand Down
2 changes: 2 additions & 0 deletions exampleSite/layouts/partials/foot_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
<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>

<script src="//cdn.jsdelivr.net/npm/@xiee/utils/js/center-img.min.js" defer></script>

{{ template "_internal/disqus.html" . }}

0 comments on commit 0772591

Please sign in to comment.