Switching Themes
I’ve been using the hermit theme for Hugo since creating this blog in 2018. Since then the number of updates to that theme has dwindled, so in the last few weeks, I’ve been trying out some other minimalistic themes. Selecting m10c as best suited for me.
This post covers the process to switch from one theme to the other.
-
Updated
.gitignorefrom https://gitignore.io. You will note I only selected Hugo from what is available, but you may want to add your IDE of choice to the list. -
Add the new theme as a git submodule using:
git submodule add https://github.com/vaga/hugo-theme-m10c.git themes/m10c
-
Delete the old theme under
themes/hermit. This was not added as a git submodule at the time. -
Update the
config.tomlwith the correct parameters for the new theme. Check out theREADME.mdandexampleSitefor details. -
Added avatar image for the new theme.
-
Updated the favicons. Should out to https://realfavicongenerator.net for making this easy.