Skip to content

and-kal/refund-tax-income-blog-theme

 
 

Repository files navigation

run dev server with

cd ./income-tax-refund-blog
hugo server --themesDir ../..

build /public/ folder with

cd ./income-tax-refund-blog
hugo --minify --destination ./public --themesDir ../..

publish to gh-pages via

git worktree add public gh-pages # delete ./public folder if you get an error message and build again before commiting 
hugo --minify --destination ./public --themesDir ../..
cd public
git add .
git commit -m"..."
git push origin gh-pages
hints on the setup

https://www.andrewhoog.com/post/git-submodule-for-hugo-themes/

https://www.adamormsby.com/posts/000/how-to-set-up-a-hugo-site-on-github-pages-with-submodules/

https://qualityandinnovation.com/2020/12/22/building-your-hugo-site-locally-part-2/

Publishing a dist folder from master branch using worktree feature to gh-pages branch.

About

Fork of Cupper theme to be used as submodule in refund-tax-income-blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.9%
  • CSS 35.0%
  • JavaScript 13.6%
  • Shell 0.5%