7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-26 05:40:20 +00:00
web-ansol.org/themes/academic/layouts/partials/comments.html
2020-06-11 12:46:16 +01:00

10 lines
390 B
HTML

{{ 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 }}