Live Demo:
๐ https://samirpaulb.github.io/blog-hugo
Created using Hugo and LoveIt theme.
Steps:
- Install Hugo
choco install hugo-extended -confirm
. - Make new post
hugo new posts/name-of-post.md
. - Run
hugo
to build static codes inside public directory for deploying on Netlify/Vercel. - Run
hugo server
to preview the site. - Use GitHub Actions to deploy on GitHub Pages.
More instructions:
- https://github.com/dillonzq/LoveIt
- Theme Basic Documentation
- Theme Content Documentation
- For local development first install Chocolatey as administrator then install hugo
choco install hugo-extended -confirm
. - For deploying on Vercel add environment variable
0.92.0
read more. - Use GitHub Actions for deploying on GitHub Pages.
- For deploying on Netlify add netlify.toml and in config.toml give baseURL to Netlify domain.
- Store resources in the
/static/assets
directory and refer it by/assets/File_Name
. - To deploy on Netlify/Vercel change the baseURL of config.toml to Netlify domain.