hugo-coder-fork/layouts/partials/posts/commento.html

5 lines
252 B
HTML

{{- if and (isset .Site.Params "commentourl") (not (eq .Site.Params.commentoUrl "" )) (eq (.Params.disable_comments | default false) false) -}}
<div id="commento"></div>
<script src="{{ .Site.Params.commentoUrl }}/js/commento.js"></script>
{{- end -}}