Add staticman support (static comments coupled with Github pull request)
This commit is contained in:
parent
7cdd0e0b3d
commit
8a0d06525d
16 changed files with 264 additions and 7 deletions
|
|
@ -19,12 +19,18 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
|
||||
|
||||
{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (.Site.Params.comments)) }}
|
||||
{{ if .Site.DisqusShortname }}
|
||||
<div class="disqus-comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.staticman }}
|
||||
<div class="staticman-comments">
|
||||
{{ partial "staticman-comments.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue