Compare commits

..

1 Commits

Author SHA1 Message Date
Yihui Xie 68a839ece2 enable Disqus comments 2018-03-21 10:39:12 -05:00
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ languageCode = "en-us"
title = "A minimal Hugo website"
theme = "hugo-xmin"
googleAnalytics = ""
disqusShortname = ""
disqusShortname = "yihui"
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
preserveTaxonomyNames = true
footnotereturnlinkcontents = "↩"

View File

@ -2,3 +2,5 @@
<script async src="//cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<script async src="//yihui.name/js/center-img.js"></script>
{{ template "_internal/disqus.html" . }}

View File

@ -6,7 +6,6 @@
{{ .Content }}
{{if not .IsHome }}
<ul>
{{ range (where .Data.Pages "Section" "!=" "") }}
<li>
@ -15,6 +14,5 @@
</li>
{{ end }}
</ul>
{{ end }}
{{ partial "footer.html" . }}