Last active
November 5, 2021 15:24
-
-
Save razonyang/f82a9399c2f682df36432f0ef828c451 to your computer and use it in GitHub Desktop.
Hugo Theme Bootstrap Qucik Start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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