Skip to content

SamirPaulb/blog-hugo

Repository files navigation

SamirPaulb/blog

Live Demo:
👉 https://samirpaulb.github.io/blog-hugo

Created using Hugo and LoveIt theme.

Steps:

  1. Install Hugo choco install hugo-extended -confirm.
  2. Make new post hugo new posts/name-of-post.md.
  3. Run hugo to build static codes inside public directory for deploying on Netlify/Vercel.
  4. Run hugo server to preview the site.
  5. Use GitHub Actions to deploy on GitHub Pages.

More instructions:

  1. https://github.com/dillonzq/LoveIt
  2. Theme Basic Documentation
  3. Theme Content Documentation
  4. For local development first install Chocolatey as administrator then install hugo choco install hugo-extended -confirm.
  5. For deploying on Vercel add environment variable 0.92.0 read more.
  6. Use GitHub Actions for deploying on GitHub Pages.
  7. For deploying on Netlify add netlify.toml and in config.toml give baseURL to Netlify domain.
  8. Store resources in the /static/assets directory and refer it by /assets/File_Name.
  9. To deploy on Netlify/Vercel change the baseURL of config.toml to Netlify domain.