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

github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCurtis Timson <curt@live.co.uk>2018-02-12 22:26:07 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-12 22:26:07 +0300
commitff49b3b5349d22f082d13b762d41ffa83c558ef0 (patch)
tree60ad11b66e7880a6f14f18b143c086cf2455c43f
parenta1af787ae82e032f4ace835bb0caeb7dc00aaed6 (diff)
:bug: Fix #26 - Comment count not working on blog page
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/_default/list.html5
2 files changed, 5 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index bcdd542..b54447a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -42,7 +42,7 @@ theme = "../.."
[params.blog]
title = "The Blog"
viewalltext = "View All"
- postsperpage = "2"
+ postsperpage = "6"
foldername = "blog"
[params.social]
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index b6a7f64..1fc67b7 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -47,6 +47,9 @@
{{ partial "scripts/index.html" . }}
-
+ {{ if .Site.Params.Settings.disqus }}
+ <script id="dsq-count-scr" src="//{{ .Site.Params.Settings.disqus }}.disqus.com/count.js" async></script>
+ {{ end }}
+
</body>
</html>