diff --git a/_posts/2024-05-24-giscus-comments.md b/_posts/2024-05-24-giscus-comments.md index 187c774..9573b52 100644 --- a/_posts/2024-05-24-giscus-comments.md +++ b/_posts/2024-05-24-giscus-comments.md @@ -9,9 +9,11 @@ permalink: /giscus-comments I added a commenting feature for the blog using [giscus][giscus]. Basically, it uses [Github Discussions][discussions-docs] to store comments instead of storing it in its own database on the web server. Since this website is hosted on [Github Pages][pages-docs] and Pages only supports static websites, it cannot host its own databases to store things such as comments. # Try it + You can test it out yourself in the comments on blog post below by signing into your github account and commenting, or you can comment on the repository's Github Discussions directly and it will show up on the comments section on the website similarly. # Add it to your own Github Pages website + 1) Make sure to enable Github Discussions on your website's Github repository. 2) Navigate to `giscus.app` on your browser's address bar and follow the instructions under the "Configuration" section to configure your ` +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-09-07T00:00:00+08:00","datePublished":"2024-09-07T00:00:00+08:00","description":"Why Dark Mode","headline":"Dark Mode on Websites with CSS @media Queries","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/dark-mode"},"url":"http://localhost:4000/dark-mode"}