Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarrell Tunnell <darrell.tunnell@googlemail.com>2017-08-02 01:38:37 +0300
committerCalin Tataru <calintat@gmail.com>2017-08-02 13:49:20 +0300
commit2c8abe015255e3db80a91e1faf14d52abe963811 (patch)
tree03054ca096008b0e7df2a6ddbadd800df3c8a523
parent1bc1e3d1bebdf95c697bfd25a1371c76a216281e (diff)
#5 added disqus support
-rw-r--r--layouts/_default/single.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 4615f3b..b385aea 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -19,4 +19,8 @@
</main>
+{{ if .Site.DisqusShortname }}
+ {{ template "_internal/disqus.html" . }}
+{{ end }}
+
{{ partial "footer.html" . }}