2025-2-26-fixed
This commit is contained in:
11
themes/fluid/layout/_partials/comments/changyan.ejs
Normal file
11
themes/fluid/layout/_partials/comments/changyan.ejs
Normal file
@ -0,0 +1,11 @@
|
||||
<% 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>
|
||||
<% } %>
|
||||
Reference in New Issue
Block a user