Fix Disqus

* Use Hugo's built-in disqus template
* Add some extra style
* See #9
This commit is contained in:
Track3 2018-12-11 13:41:01 +08:00
parent 50fe5d1045
commit caf088cbfb
6 changed files with 21 additions and 22 deletions

View file

@ -44,8 +44,10 @@
</a>
{{- end }}
</div>
{{- with .Site.DisqusShortname }}
{{ partialCached "disqus.html" . }}
{{- if .Site.DisqusShortname }}
<div id="disqus" class="thin">
{{ template "_internal/disqus.html" . }}
</div>
{{- end }}
</main>
{{ end }}