diff --git a/_config.yml b/_config.yml index d81966b..7c3c02a 100644 --- a/_config.yml +++ b/_config.yml @@ -6,4 +6,23 @@ show_downloads: false github: repository_url: '/index.html' - owner_url: "https://kananinirav.com" \ No newline at end of file + owner_url: "https://kananinirav.com" + +# Set which comment system to use +comments: + # 'disqus' / 'giscus' / 'utterances' are available + provider: giscus + +# You must install giscus github app before use.(https://github.com/apps/giscus) +# Make sure all variables are set properly. Check below link for detail. +# https://giscus.vercel.app/ +giscus: + repo: "kananinirav/AWS-Certified-Cloud-Practitioner-Notes" + repo-id: "R_kgDOHx8vjA" + category: "Comments" + category-id: "DIC_kwDOHx8vjM4CS2vu" + mapping: "pathname" + data-strict: "1" + reaction-enabled: "1" + theme: "light" + crossorigin: "anonymous" \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index ae10b2b..df2785b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -30,6 +30,21 @@
{{ content }} + + {% assign giscus = site.giscus %} + +