Source code and markdown for anemology.cc
Download Hugo executable from gohugoio/hugo, and run the command:
hugo serverAdd a new post file:
hugo new post/i-am-post-name.mdmatsuyoshi30/harbor: Simple and minimal personal blog theme.
git clone https://github.com/matsuyoshi30/harbor.git theme/harbor- Change language code
languageCode = "zh-TW"
https://discourse.gohugo.io/t/i18n-support-for-language-country-code/20303/9 - Custom CSS in static/css/custom.css
Update submodule
Because I made some modifications from original repo, so I choose use rebase in order to prevent a merge commit, and easy to compare with original repo.
# make sure submodule is cloned, and add original repo as another remote
git clone git@github.com:anemology/harbor.git theme/harbor && cd theme/harbor
git remote add matsuyoshi30 git@github.com:matsuyoshi30/harbor.git
git pull --rebase matsuyoshi30 master
git push --force