#133, move disqus to separate template to allow override, rename BookDisqus to BookComments
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<!-- This partial can be replaced to support other commenting engines -->
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
{{ if (default true (default .Site.Params.BookDisqus .Params.bookDisqus)) }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ if (default true (default .Site.Params.BookComments .Params.bookComments)) }}
|
||||
<div class="book-comments">
|
||||
{{ partial "docs/comments" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user