Fix #8: add disqus support
This commit is contained in:
parent
8ae4ae106c
commit
eaec70ed4b
2 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,7 @@ title: "Anubis"
|
||||||
author: ""
|
author: ""
|
||||||
theme: "anubis"
|
theme: "anubis"
|
||||||
paginate: 10
|
paginate: 10
|
||||||
|
disqusShortname: yourdiscussshortname
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
|
|
|
@ -20,5 +20,8 @@
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
|
{{ if .Site.DisqusShortname }}
|
||||||
|
{{ template "_internal/disqus.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue