diff options
-rw-r--r-- | config.toml | 3 | ||||
-rw-r--r-- | 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) }} -<div class="comments"> - {{ template "_internal/disqus.html" . }} -</div> -{{ end }}
\ No newline at end of file + |