Fix #8: add disqus support

This commit is contained in:
Dmitry Kolosov 2020-01-21 21:57:57 +03:00
parent 8ae4ae106c
commit eaec70ed4b
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,7 @@ title: "Anubis"
author: "" author: ""
theme: "anubis" theme: "anubis"
paginate: 10 paginate: 10
disqusShortname: yourdiscussshortname
menu: menu:
main: main:

View File

@ -20,5 +20,8 @@
{{ .Content }} {{ .Content }}
</article> </article>
{{ if .Site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}
{{ end }}
{{ end }} {{ end }}