From 1311adde3308f8a3de3d59328573a67b38809b41 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 7 Jul 2017 15:31:17 +0300 Subject: [PATCH] layouts: Revert to built-in Disqus template Hugo 0.25 improved the embedded Disqus template so we can just use theirs now. See: https://github.com/gohugoio/hugo/pull/3655 See: https://github.com/gohugoio/hugo/pull/3639 --- layouts/_default/single.html | 2 +- layouts/partials/disqus.html | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 layouts/partials/disqus.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d40cda0..c97a9d0 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -83,7 +83,7 @@ {{ end }} {{ if and (.Site.DisqusShortname) (ne .Params.comments false) }} - {{ partial "disqus.html" . }} + {{ template "_internal/disqus.html" . }} {{ end }} {{ end }} diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html deleted file mode 100644 index 3334ae1..0000000 --- a/layouts/partials/disqus.html +++ /dev/null @@ -1,19 +0,0 @@ -
- - -comments powered by Disqus - -{{- /* vim: set ts=2 sw=2 et: */}}