diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2ee0827..b750cda 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -35,6 +35,18 @@ </script> <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> {{ end }} + {{ with .Site.Params.commento }} + <div id="commento"></div> + <script defer> + var commento_url = {{ . }}; + (function() { + var d = document, s = d.createElement('script'); + s.src = 'https://' + commento_url + '/js/commento.js'; + (d.head || d.body).appendChild(s); + })(); + </script> + <noscript>Please enable JavaScript to view the comments powered by Commento.</a></noscript> + {{ end }} <nav class="p-pagination c-pagination"> <div class="c-pagination__ctrl"> <div class="c-pagination__newer"> |