🎨 Add post comments widget content.
This commit is contained in:
13
layouts/partials/_thirdparty/comment/livere.html
vendored
Normal file
13
layouts/partials/_thirdparty/comment/livere.html
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{{- with .Site.Params.LiveRe }}
|
||||
<div id="lv-container" data-id="city" data-uid="{{ .uid }}"></div>
|
||||
<script type="text/javascript">
|
||||
(function(d, s) {
|
||||
var j, e = d.getElementsByTagName(s)[0];
|
||||
if (typeof LivereTower === 'function') { return; }
|
||||
j = d.createElement(s);
|
||||
j.src = '//cdn-city.livere.com/js/embed.dist.js';
|
||||
j.async = true;
|
||||
e.parentNode.insertBefore(j, e);
|
||||
})(document, 'script');
|
||||
</script>
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user