Search

Search IconIcon to open search

Migrating from OneNote to Hugo

Last updated by Simon Späti

# How the migration worked

I migrated as quick as I did because of how convenient it was to export the entire content I had written over time. I used  wordpress-to-hugo-exporter, which is one of the provided  plugins on GoHugo. After exporting, I had all my post as single markdown files and all images linked to them.

You find more on Saying Goodbye to WordPress, a Homecoming.

# Alternatives

After searching for Python-based frameworks, I quickly found topics around Static Site Generators (SSG) and with it GoHugo. Without more extensive research, I just started using it and get a feeling for it. Below are the first steps which keep you going with GoHugo.

# Get started with GoHugo

After searching for Python-based frameworks, I quickly found topics around  Static Site Generators (SSG) and with it  GoHugo. Without more extensive research, I just started using it and get a feeling for it. Below are the first steps which keep you going with GoHugo.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
brew install hugo
#load example blog
hugo new site quickstart
cd quickstart
git init
#adding a template
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo theme = \"ananke\" >> config.toml
#adding a new post
hugo new posts/my-first-post.md

To start seeing your build website live on your local machine, you start the webserver, which automatically updates every change. And within seconds, that’s also where GoHugo seems to have an advantage over other SSGs, which are fast on production but not as quickly to render locally.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
hugo server -D
                   | EN
+------------------+----+
  Pages            | 10
  Paginator pages  |  0
  Non-page files   |  0
  Static files     |  3
  Processed images |  0
  Aliases          |  1
  Sitemaps         |  1
  Cleaned          |  0

Total in 11 ms
Watching for changes in /Users/bep/quickstart/{content,data,layouts,static,themes}
Watching for config changes in /Users/bep/quickstart/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For complete rebuilds on change: Hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind-address 127.0.0.1)
Press Ctrl+C to stop

This produces this static website which can live opened and edited on localhost:1313.


Origin: Saying Goodbye to WordPress, a Homecoming | ssp.sh
References: GoHugo, OneNote
Created 2025-04-16