diff --git a/README.md b/README.md index 3847c22..31ea7b2 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ title: "Anubis" author: "" theme: "anubis" paginate: 10 +disqusShortname: yourdiscussshortname menu: main: diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 020ba52..65257c3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -20,5 +20,8 @@ {{ .Content }} + {{ if .Site.DisqusShortname }} + {{ template "_internal/disqus.html" . }} + {{ end }} {{ end }} \ No newline at end of file