Migration to Hugo
Jekyll is a great tool for static site generation. It’s a good choice for a blog. However, I found it difficult to decouple the blog content from the blog template. After some investigation, I migrated the blog to Hugo.
I’d say that I’ve got nearly everything I want:
- Modularized theming system
- I don’t need to change the theme source to custimize it.
- Faster build speed
- Growing community
Deploying Hugo on Cloudflare Pages is pretty straigt forward. The only caveat is that the default Hugo version on Cloudflare is pretty old (0.54.0 at this moment). You need to add an environment variable (HUGO_VERSION
) to the version you want. Otherwise, it will likely to show this error:
HUGO-BEARBLOG theme does not support Hugo version 0.54.0. Minimum version required is 0.73.0