Closed jkcharlie6679 closed 1 year ago
I found that when I import the remark42 comment system, it won't show on the page. According to the remark42 official page, the code needs to add !.
!
like:
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
0.107.0
3.16.0
Microsoft Edge
No response
https://demo.stack.jimmycai.com
I have fixed it and pushed a pull request. If @CaiJimmy you feel it is correct, please help me to merge it. Please let me know if I need to do anything about this bug. Thank you.
What happened?
I found that when I import the remark42 comment system, it won't show on the page. According to the remark42 official page, the code needs to add
!
.like:
Hugo version
0.107.0
Theme version
3.16.0
What browsers are you seeing the problem on?
Microsoft Edge
More information about the browser
No response
Relevant log output
No response
Link to the page with bug
https://demo.stack.jimmycai.com
Link to the source repository
No response