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

8555cf72dec9321fa010296ce6988cf7b7cf602b · 251 B · 4 lines raw

1 {{- if and (isset .Site.Params "commentourl") (not (eq .Site.Params.commentoURL "" )) (eq (.Params.disableComments | default false) false) -}}
2 <div id="commento"></div>
3 <script src="{{ .Site.Params.commentoURL }}/js/commento.js"></script>
4 {{- end -}}