7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-26 13:50:21 +00:00
web-ansol.org/themes/academic/layouts/partials/comments.html

10 lines
390 B
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{ if site.Params.comments.engine | and (index site.Params.comments.commentable .Type) | and (ne .Params.commentable false) | or .Params.commentable }}
<section id="comments">
{{ if eq site.Params.comments.engine 1 }}
{{ partial "comments/disqus.html" . }}
{{ else if eq site.Params.comments.engine 2 }}
{{ partial "comments/commento.html" . }}
{{ end }}
</section>
{{ end }}