From 94d33d8ef89f96205ec0e1ee2c07b30386a43d1f Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 23 Nov 2019 10:41:38 +0100 Subject: [PATCH] Support for comments through isso --- README.md | 1 + alchemy/templates/include/comments.html | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 26aef83..eba3c93 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ Misc settings: - **DISQUS_SITENAME** - **GAUGES** - **GOOGLE_ANALYTICS** +- **ISSO_URL** - **PIWIK_URL** - **PIWIK_SITE_ID** diff --git a/alchemy/templates/include/comments.html b/alchemy/templates/include/comments.html index 0f58df6..8826d37 100644 --- a/alchemy/templates/include/comments.html +++ b/alchemy/templates/include/comments.html @@ -18,3 +18,10 @@ Please enable JavaScript to view the comments powered by Disqus. {% endif %} +{% if ISSO_URL and SITEURL and article.status != "draft" %} +
+ +
+
+{% endif %}