Part 2 of Moving from WordPress to Hugo
Setting up Hugo
Very little to add to the official instructions
I use a Windows laptop, so at first I tried the Chocolatey installation, however this only installs standard Hugo. The theme I chose requires the extended version of Hugo, so I uninstalled the Chocolatey build and re-installed as a direct download.
Add the install directory to the path environment variable, reboot, and you're ready to go.
Choosing a theme
Luckily there's a large choice of community themes already available for Hugo. After bit of clicking around, and trying a couple locally, I decided to go for the Academic theme from George Cushen because it seemed to be both full-featured yet very flexible.
The initial configuration tasks were based on the instructions:
- Edit the files in
- Edit the
- Edit the
- Create some test content
- Copy the contents of
(didn't see this one in the instructions but without it the archetypes don't get picked up on
hugo new -kind post post/mypost)
hugo server -D
and check the site at http://localhost:1313