Introduction#
I’ve just switched my Hugo theme from PaperMod to PaperModX for the features listed on their repository. The steps to do so are pretty straightforward and listed below.
Migration Steps#
First, add the theme as a sub-module.
git submodule add https://github.com/reorx/hugo-PaperModX.git themes/PaperModX
Then, change the Hugo theme to PaperModX
.
sed -i '' 's/^theme: PaperMod$/theme: PaperModX/' hugo.yaml
Finally, delete the now unused PaperMod
sub-module.
git rm themes/PaperMod