From 8000b58f2398ebe12b0ec5bfa0ee25feae66bfe2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 8 Jun 2017 10:03:11 +0200 Subject: retried Disqus: too slow, shows always the same comment on all pages. Seems not to work properly for me. --- config.toml | 2 +- .../layouts/partials/comments-disqus.html | 31 ++++++++++++++++++++++ themes/new_theme/layouts/partials/comments.html | 1 - 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 themes/new_theme/layouts/partials/comments-disqus.html diff --git a/config.toml b/config.toml index 6280b4f..97ad09f 100644 --- a/config.toml +++ b/config.toml @@ -16,7 +16,7 @@ SectionPagesMenu = "main" opengraph = true strus_url = "http://eeepc.home:8080/strus/query/wwwandreasbaumanncc" DisqusUrl = "http://www.andreasbaumann.cc" - DisqusShortname = "www.andreasbaumann.cc" + DisqusShortname = "wwwandreasbaumanncc" disable_comments = true [Params.widgets] diff --git a/themes/new_theme/layouts/partials/comments-disqus.html b/themes/new_theme/layouts/partials/comments-disqus.html new file mode 100644 index 0000000..7af75f0 --- /dev/null +++ b/themes/new_theme/layouts/partials/comments-disqus.html @@ -0,0 +1,31 @@ +{{ if (not .Params.disable_comments) }} +
+ + + + + +comments powered by Disqus +{{ end }} diff --git a/themes/new_theme/layouts/partials/comments.html b/themes/new_theme/layouts/partials/comments.html index 8b13789..e69de29 100644 --- a/themes/new_theme/layouts/partials/comments.html +++ b/themes/new_theme/layouts/partials/comments.html @@ -1 +0,0 @@ - -- cgit v1.2.3-54-g00ecf