blog/themes/fluid/layout/_partials/comments/changyan.ejs
2024-11-16 11:34:10 +08:00

12 lines
454 B
Plaintext

<% 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>
<% } %>