Hugo version & theme development

Hi @agriffis — my approach has been

  1. Install Hugo locally (make sure the version you install matches the Hugo version in the Micro.blog dashboard at DesignHugo version
  2. Set up a git repo with the Micro.blog/Hugo template you want to use for your blog
  3. Export your template from Micro.blog
    1. Click the circle w/ the ellipsis on one of the Micro.blog dashboard pages that has your blog’s domain at the top (like Posts or Design)
    2. Click Export
    3. Click Export theme and Markdown
  4. Wait for the email w/ a link to download the files for your blog, download, and unzip it
  5. Copy the “content” folder from the export over the content folder in your local theme repo
  6. Run hugo serve in your local repo to start the Hugo dev server
  7. Adjust your templates
  8. Commit and push to GitHub
  9. Click the sync button under Design → Edit Themes → Theme Name to sync
  10. Micro.blog will rebuild your site w/ the latest changes
2 Likes