Migrating WP to Hugo

i finally finished merging all my wordpress content with the hugo site. after a week or so of going over the dev site with the merged content, i changed the dns to point to the hugo deployment today. i used lonekorean’s export to markdown, which was agnostic of hugo and mostly worked except that (1) it didn’t export videos (2) where i had image names that were the same in wordpress (i.e. wordpress allows me to have unique posts with unique images with identical names like “image1.png”, these were overwritten during the export and had to be manually retrieved). ...

Hugo Deploy

My work log for deploying Hugo on my instantiation, using https://euantorano.co.uk/hugo-git-deployment-nearly-free-speech/ (this mostly worked for me but required some minor changes). Installing (a correct version of) Hugo on NearlyFreeSpeech #!/usr/bin/env sh set -ex VERSION=0.145 FILENAME="hugo_${VERSION}_FreeBSD-64bit.tar.gz" BIN_DIR=$HOME/bin mkdir -p "${BIN_DIR}" fetch -q -o hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/v${VERSION}/${FILENAME}" tar -C "${BIN_DIR}" -xvzf hugo.tar.gz hugo rm hugo.tar.gz If you want to change the version above, make sure it exists in the correct combo of version x operating system at https://github.com/gohugoio/hugo/releases/download/*. You may then need to modify FILENAME. ...