timlrx / tailwind-nextjs-starter-blog

This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
https://tailwind-nextjs-starter-blog.vercel.app/
MIT License
8.64k stars 2.01k forks source link

comment provider disqus #926

Closed rth1972 closed 4 months ago

rth1972 commented 4 months ago

really love the script. i'm new to nextjs. I"m trying to alter the script to my needs.

i have a question though. I'm using disqus as my comment provider but i'm getting an error message. "chunk-ZGZNY22A.js:19 Refused to load the script 'https://undefined.disqus.com/embed.js"

instead of undefind how can i get 'https://shortname.disqus.com/embed.js'.

any help is appreciated, thanks in advance,

Robin

ps thank you for the great script, i'm really learning a lot by looking at the code.

rth1972 commented 4 months ago

I've figured it out.

in siteMetadata.js i added disqusConfig: { shortname: 'shortname', },

rth1972 commented 4 months ago

really love the script. i'm new to nextjs. I"m trying to alter the script to my needs.

i have a question though. I'm using disqus as my comment provider but i'm getting an error message. "chunk-ZGZNY22A.js:19 Refused to load the script 'https://undefined.disqus.com/embed.js"

instead of undefind how can i get 'https://shortname.disqus.com/embed.js'.

any help is appreciated, thanks in advance,

Robin

ps thank you for the great script, i'm really learning a lot by looking at the code.