diff options
author | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-09-07 21:52:10 +0200 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-09-07 21:52:10 +0200 |
commit | eab1974019b3d82cb76cb806ba059fb6cc196111 (patch) | |
tree | 082e582a72e075df07a5867dbef01a159b5b3cd7 /layouts/_default | |
parent | 8349cf1aa1bf4675ba10bc47882a7fb089a54ceb (diff) |
Switch to Hugo's built-in Disqus template
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c5fdbc2..a9f5d33 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,8 +5,8 @@ {{ .Content }} </div> -{{ if .Site.Params.disqusShortname -}} +{{ if .Site.DisqusShortname -}} <h2>Comments</h2> - +{{ template "_internal/disqus.html" . }} {{- end }} {{- end }}
\ No newline at end of file |