summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-05-24 16:45:49 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-05-24 16:45:49 +0200
commit04023d35b8272e81e17fc503a70f9999b4aa1f55 (patch)
treeac5f263238b544972c20b08d0c4a1879a825a9dc
parent44d27d3155857dde0a5556adff9b60e7b0391a25 (diff)
downloadwww-andreasbaumann-cc-04023d35b8272e81e17fc503a70f9999b4aa1f55.tar.gz
www-andreasbaumann-cc-04023d35b8272e81e17fc503a70f9999b4aa1f55.tar.bz2
tried to add Disqus comments, complete failure
-rw-r--r--config.toml3
-rw-r--r--themes/new_theme/layouts/partials/comments.html6
2 files changed, 4 insertions, 5 deletions
diff --git a/config.toml b/config.toml
index 14fa0e3..6280b4f 100644
--- a/config.toml
+++ b/config.toml
@@ -15,6 +15,9 @@ SectionPagesMenu = "main"
copyright_years = "2009 - 2017"
opengraph = true
strus_url = "http://eeepc.home:8080/strus/query/wwwandreasbaumanncc"
+ DisqusUrl = "http://www.andreasbaumann.cc"
+ DisqusShortname = "www.andreasbaumann.cc"
+ disable_comments = true
[Params.widgets]
search = true
diff --git a/themes/new_theme/layouts/partials/comments.html b/themes/new_theme/layouts/partials/comments.html
index 42dc0c5..8b13789 100644
--- a/themes/new_theme/layouts/partials/comments.html
+++ b/themes/new_theme/layouts/partials/comments.html
@@ -1,5 +1 @@
-{{ if and (not (eq .Site.DisqusShortname "")) (not .Params.disable_comments) }}
-<div class="comments">
- {{ template "_internal/disqus.html" . }}
-</div>
-{{ end }} \ No newline at end of file
+