From 04023d35b8272e81e17fc503a70f9999b4aa1f55 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 24 May 2017 16:45:49 +0200 Subject: tried to add Disqus comments, complete failure --- config.toml | 3 +++ themes/new_theme/layouts/partials/comments.html | 6 +----- 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) }} -
- {{ template "_internal/disqus.html" . }} -
-{{ end }} \ No newline at end of file + -- cgit v1.2.3-54-g00ecf