sbbs/themes/hueman/layout/comment/livere.ejs

22 lines
710 B
Plaintext
Raw Permalink Normal View History

2018-09-03 07:41:16 +00:00
<% if (typeof(script) !== 'undefined' && script) { %>
<!-- 来必力City版安装代码 -->
<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 = 'https://cdn-city.livere.com/js/embed.dist.js';
j.async = true;
e.parentNode.insertBefore(j, e);
})(document, 'script');
</script>
<noscript> 为正常使用来必力评论功能请激活JavaScript</noscript>
<!-- City版安装代码已完成 -->
<% } else { %>
<div id="lv-container" data-id="city" data-uid=<%= theme.comment.livere %>></div>
<% } %>