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.
Describe the bug
I followed the steps to host statically along with the steps to host on github pages. The yarn build step would always fail due to changing the img source path in components/Image.tsx to the provided one for GH pages deployment.
To Reproduce
Follow section on "Static hosting services" in README.
Follow steps in faq/github-pages-deployment.md.
Run yarn build.
System Info:
OS: Windows 11
Node version: 18.17.0
Npm version: 9.6.7
Additional context
I got it working by changing the img src path to an absolute path where {username} is my Github username and {repo-name} is my repo name:
Describe the bug I followed the steps to host statically along with the steps to host on github pages. The yarn build step would always fail due to changing the img source path in components/Image.tsx to the provided one for GH pages deployment.
To Reproduce Follow section on "Static hosting services" in README. Follow steps in faq/github-pages-deployment.md. Run yarn build.
System Info:
Additional context I got it working by changing the img src path to an absolute path where {username} is my Github username and {repo-name} is my repo name: