From b16ed6beb0a308694126169a066ca9e7dd8611fb Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Fri, 13 Jul 2018 20:31:34 +0300 Subject: [PATCH] Change for blog comments to use discourse instead of disqus (#62) * Change for blog comments to use discourse instead of disqus * Fix ident --- layouts/_default/single.html | 2 -- layouts/page/single.html | 2 -- layouts/partials/discourse.html | 14 ++++++++++++++ layouts/partials/disqus.html | 24 ------------------------ layouts/post/single.html | 2 +- 5 files changed, 15 insertions(+), 29 deletions(-) create mode 100644 layouts/partials/discourse.html delete mode 100644 layouts/partials/disqus.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ca7d41a..78c91c5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,8 +5,6 @@
{{ .Content }} - - {{ partial "disqus.html" . }}
diff --git a/layouts/page/single.html b/layouts/page/single.html index 3ccff1c..830fd38 100644 --- a/layouts/page/single.html +++ b/layouts/page/single.html @@ -10,8 +10,6 @@
{{ .Content }} - - {{ partial "disqus.html" . }}
diff --git a/layouts/partials/discourse.html b/layouts/partials/discourse.html new file mode 100644 index 0000000..5359364 --- /dev/null +++ b/layouts/partials/discourse.html @@ -0,0 +1,14 @@ +
+ + diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html deleted file mode 100644 index 05ff76a..0000000 --- a/layouts/partials/disqus.html +++ /dev/null @@ -1,24 +0,0 @@ -{{ if .Site.DisqusShortname }} -
- - - - -{{end}} diff --git a/layouts/post/single.html b/layouts/post/single.html index a6704b8..38a55bb 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -21,7 +21,7 @@ {{ .Content }} - {{ partial "disqus.html" . }} + {{ partial "discourse.html" . }}