-
Hugo has a builtin support to Disqus, but I couldnt figure out how to make it work in Hinode. I have enable the service in hugo.toml, configured server.toml e even created a partial called disqus.html in layouts/partials with the content of this reference https://gohugo.io/templates/embedded/#disqus ...with no success. Tks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Most likely you're running into issues with the Content Security Policy. Hinode uses strict policies by default. You can view the issues in your browser. For example, in Chrome, right-click on the page and select I've set up a test repository with a relaxed policy here: https://github.com/markdumay/hinode-disqus You can review the changes I made to the base template in this PR: markdumay/hinode-disqus#2 |
Beta Was this translation helpful? Give feedback.
-
Hi @markdumay! The only (the main) thing that I've havent seen anywhere was to create the _default/single.html, maybe I miss this part. Everything is working as you can see : https://tiagotavares.io/blog/gestao-de-vulnerabilidades-com-greenbone-openvas_dez2021/ Again, thank you very much! |
Beta Was this translation helpful? Give feedback.
Most likely you're running into issues with the Content Security Policy. Hinode uses strict policies by default. You can view the issues in your browser. For example, in Chrome, right-click on the page and select
Inspect
to open the debugging tools. It will show you all warnings and errors.I've set up a test repository with a relaxed policy here: https://github.com/markdumay/hinode-disqus
You can review the changes I made to the base template in this PR: markdumay/hinode-disqus#2