This is my personal blog based on Next.js and Markdown, styled with TailwindCSS and exported to a Static-Site-Generation (SSG) website.
Update all values inside the env
key in the next.config.js
file to match your profile.
If you don't want to have a Tinyletter newsletter, just leave the key TINY_LETTER_ID
empty and the component will be excluded automatically.
Change the primary color by update the primary
key inside the tailwind.config.js
file. You can choose any color hash (e.g. #FF7A00
) or use one out of Tailwind CSS colors default color palette.
Add your blog new posts Markdown files inside the /articles
folder.
That's it - Enjoy.
You need NodeJS with NPM installed to execute npm install
.
To run the dev server, use npm run dev
and open localhost:3000 in your Browser.
To execute all tests, run npm run test
.
To build the project, run npm run build
followed by npm run export
. NextJS command line tool will first build the project and then export it as static files into the /out
folder.
If you have any questions, you can create an issue here on GitHub or ping me on Twitter @lailo_ch.