Skip to content

Instantly share code, notes, and snippets.

@razonyang
Last active November 5, 2021 15:24
Show Gist options
  • Save razonyang/f82a9399c2f682df36432f0ef828c451 to your computer and use it in GitHub Desktop.
Save razonyang/f82a9399c2f682df36432f0ef828c451 to your computer and use it in GitHub Desktop.
Hugo Theme Bootstrap Qucik Start
hugo new site myblog
cd myblog
git init
git submodule add https://github.com/razonyang/hugo-theme-bootstrap themes/hugo-theme-bootstrap
cp -a themes/hugo-theme-bootstrap/exampleSite/* .
hugo server
cd themes/hugo-theme-bootstrap
git fetch
git checkout [version]
cd ../../
git add themes/hugo-theme-bootstrap
git commit -m 'Upgrade the theme'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment