I migrated from jekyll to hugo, but one thing is missing: the custom theme.

I spend a log of time debugging my old blog’s theme: adding dark theme, fix layout, add google search, etc.

the strength of hugo is that it just works. but it’s not totally true: there is still some things bugging me, and that’s the “baseURL” and “themes”.

baseURL

without this setting the browser cannot be opened automatically. and I have a good reason for it.

however the hugo developers & communities seems to not understand it. so I get a custom version. I choose the name to be evu but it’s just easy to type.

themes

there are a lot of works-out-of-the-box for hugo. however the website recommend to use git submodules for adding it, and there is a long debate for the submodules.

I use git subtree instead. this comes with a benefit: it becomes easier to build custom themes.

Well a lot of people is using the base theme papermod so the site will be the same: it’s like walking in the street and find another people wearing the same T-shirt with you. a bit annoying.

so I added some commits to customize it:

commits
  • remove first special entry
  • change light theme to pink
  • add noto font

well I have a separate repo for the forked theme but I’m too lazy to move these commits to it…