Getting Started with Hugo

Holy Crap

Hugo docs are worse than I recall. This literally took me 3 or 4 hours. In the end the quickstart is beyond useless, to the point of harmful.

Just use the custom theme option to start and learn to make your own themes.

Here’s my quickstart

  • Install Hugo’s binary
  • Create a new site with hugo new site whatever
  • When it asks about theme, just say to make a custom one.
  • set that theme in the hugo.toml
  • make a test post with hugo new posts/test.md (or whatever you want to call your content type)

Now you’ll have a super basic site. Customize the theme to your liking, I went with a tailwind integration which was a bit involved. You could do something similar or juse use dfirect css.

References

This article was super helpful