New to Hugo: How do I customize my existing theme?


Hello Hugo community!

I’m so excited to have just built my first site with Hugo! I only had one real struggle, and that was learning Git :upside_down_face:. Now, I’m ready to start styling my PaperMod theme, but with my own color scheme.

I have a question about how to import the theme and make changes to it. I see that I have an orange PaperMod folder in my themes directory, which takes me to the GitHub repo. But I’m not sure how it got there, and I’m not sure how to proceed.

Should I just download the contents of the PaperMod repo and upload them to my themes folder? Or should I fork the repo, make my changes there, and then link the new repo in my themes folder (somehow)?

I really appreciate any help you can provide!

Install the theme using “Method 2”
https://github.com/adityatelange/hugo-PaperMod/wiki/Installation#method-2

Override theme components by copying the source file to the same path in the root of your project.

For example, to override themes/foo/layouts/_default/baseof.html…

mkdir -p layouts/_default
cp themes/foo/layouts/_default/baseof.html layouts/_default
1 Like

Thank you!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.