z2o-k7e / z2o-k7e.github.io

https://learn.z2o-k7e.world/
61 stars 27 forks source link

Updating giscus id settings #16

Closed r12f closed 8 months ago

r12f commented 9 months ago

Hi @Demian101 ,

Do you mind to help update the giscus settings in the theme?

It is currently set to using the "r12f/sonic-book" as the destination, so all the comments of this book will be created under the sonic-book repo discussions as below:

This is the file and key code for the settings: https://github.com/zkp-co-learning/zkp-co-learning.github.io/blob/main/theme/index.hbs

And the new settings can be crafted by using this app here: https://giscus.app/.

        <script src="https://giscus.app/client.js"
                data-repo="r12f/sonic-book"
                data-repo-id="R_kgDOJhBB1g"
                data-category="Comments"
                data-category-id="DIC_kwDOJhBB1s4CXctO"
                data-mapping="og:title"
                data-strict="0"
                data-reactions-enabled="1"
                data-emit-metadata="0"
                data-input-position="top"
                data-theme="dark_dimmed"
                data-lang="en"
                data-loading="lazy"
                crossorigin="anonymous"
                async>
        </script>
Demian101 commented 9 months ago

thank you for pointing this out,I shall fix it 🤣

r12f commented 9 months ago

Thanks a lot! 🥰

Demian101 commented 8 months ago

The problem has been resolved and no further action is required