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" . }}