luizdepra / hugo-coder

A minimalist blog theme for hugo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

giscus is not working !

amriunix opened this issue · comments

Describe the problem:

I've tried giscus.app by following all the instrauction but seems it's not working !

Just a drive-by guess (because you've not given much information in this issue report), but if you're talking about pages like https://amriunix.com/post/alfresco-reset-password-add-on-0-day-vulnerabilities/ then you're not using the 'posts' content type. Since you're using /post/ and there's no type called 'post' and there's no type override in your front matter, it's falling back to the standard 'page' type. Giscus is not inserted into generic non-'posts' pages.

https://gohugo.io/content-management/types/

Either set the type in the frontmatter, or move your content into /posts/ instead of /post/.

Thank you @simonhollingshead, I've fixed using the Hugo Aliases