diff options
author | Kevin Ottens <ervin@ipsquad.net> | 2019-03-15 13:03:46 +0300 |
---|---|---|
committer | Hanzei <16541325+hanzei@users.noreply.github.com> | 2019-03-15 13:03:46 +0300 |
commit | 29aa348daab6bf2e621314426dd8819e927290f6 (patch) | |
tree | 3bdfcfc97b91a151276d00d1d4443ec97208fa5f /layouts/partials | |
parent | a8f42fd1d688424555b012fa55820ea9f982e3a5 (diff) |
Move comments handling in a partial (#138)
This way it's much easier to tune the comment handling in general (like
disable it for some sections) or integrate a different commenting system
than disqus.
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/comments.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..3cc1645 --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,5 @@ +{{- if .Site.DisqusShortname }} + <div class="disqus"> + {{ template "_internal/disqus.html" . }} + </div> +{{- end }} |