hexo/node_modules/hexo-theme-fluid/layout/_partials/comments/changyan.ejs

12 lines
454 B
Plaintext
Raw Normal View History

2024-05-09 16:35:20 +08:00
<% if (theme.changyan.appid) { %>
<div id="SOHUCS" sid='<%= page.permalink %>'></div>
<script type="text/javascript">
Fluid.utils.loadComments('#SOHUCS', function() {
Fluid.utils.createScript("https://changyan.sohu.com/upload/changyan.js", function() {
window.changyan.api.config(<%- JSON.stringify(theme.changyan || {}) %>)
});
});
</script>
<noscript>Please enable JavaScript to view the comments</noscript>
<% } %>