mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-11 01:38:28 +00:00
Add internal comments (Disqus) partial
This commit is contained in:
parent
8ea72745ac
commit
aff7c3515f
2 changed files with 6 additions and 0 deletions
|
@ -7,5 +7,6 @@
|
||||||
{{ if .Params.tags }}{{ partial "post_tags.html" . }}{{ end }}
|
{{ if .Params.tags }}{{ partial "post_tags.html" . }}{{ end }}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
{{ partial "comments.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
5
layouts/partials/comments.html
Normal file
5
layouts/partials/comments.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{{ if and .Site.DisqusShortname (not (or .Site.Params.disable_comments .Params.disable_comments)) }}
|
||||||
|
<section class="comments block">
|
||||||
|
{{ template "_internal/disqus.html" . }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
Loading…
Reference in a new issue