Change discussion mapping to title and add giscus.json

...to prevent anyone from using Giscus on our repo willy-nilly
This commit is contained in:
Ariel Abreu 2023-05-20 09:43:09 -04:00
parent 5b5e5a9327
commit f215a10b62
No known key found for this signature in database
GPG Key ID: C06B805216EDEEED
2 changed files with 4 additions and 1 deletions

3
giscus.json Normal file
View File

@ -0,0 +1,3 @@
{
"origins": ["https://blog.darlinghq.org", "https://darlinghq.github.io"]
}

View File

@ -11,7 +11,7 @@ export default function Giscus() {
repoId="R_kgDOJlSqQQ"
category="Blog Comments"
categoryId="DIC_kwDOJlSqQc4CWn3C"
mapping="pathname"
mapping="title"
strict="1"
reactionsEnabled="1"
emit-metadata="0"