Skip to content

puplakto/blog

 
 

Repository files navigation

Host Hugo on Github Pages with Custom Domain

  1. Rename publish directory and set base url in config.toml

    baseURL = "https://lakto.pupraki.com/"
    ...
    publishDir = "docs"
  2. Set source to /docs and set custom domain to lakto.pupraki.com in https://github.com/puplakto/blog/settings/pages

  3. Add a CNAME record in DNS, pointing lakto.pupraki.com to puplakto.github.io

  4. Run hugo to generate static files and push the repo, wait for Github Action workflow to complete.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 93.4%
  • SCSS 6.6%