Add built-in Disqus partial.
This commit is contained in:
parent
f78fe1889f
commit
169a5feb8a
@ -233,4 +233,7 @@
|
||||
content: " / ";
|
||||
}
|
||||
|
||||
.post-comment{
|
||||
padding: 3em 0;
|
||||
}
|
||||
}
|
@ -83,6 +83,19 @@
|
||||
</section>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
||||
<div class="post-comment">
|
||||
{{ if ne .Site.DisqusShortname "" }}
|
||||
{{ if ( .Params.showComments | default true ) }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="post-nav">
|
||||
{{ if .PrevInSection }}
|
||||
<a href="{{.PrevInSection.Permalink}}" class="prev" rel="prev" title="{{ .PrevInSection.Title}}"><i class="iconfont icon-left"></i> {{ .PrevInSection.Title}}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user