Fix Disqus
* Use Hugo's built-in disqus template * Add some extra style * See #9
This commit is contained in:
parent
50fe5d1045
commit
caf088cbfb
6 changed files with 21 additions and 22 deletions
|
@ -8,8 +8,10 @@
|
|||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{- with .Params.comments }}
|
||||
{{ with .Site.DisqusShortname }}{{ partialCached "disqus.html" . }}{{ end }}
|
||||
{{- if and .Params.comments .Site.DisqusShortname }}
|
||||
<div id="disqus" class="thin">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue