Upgrading from theNewDynamic to gohugo-ananke
- What changed
- Migrate a Hugo Module install
- Migrate a Git submodule install
- Confirm the theme is loaded
- Common failure cases
Ananke moved to its own organisation in April 2026. The repository changed from: github.com/theNewDynamic/gohugo-theme-ananke to github.com/gohugo-ananke/ananke.
Both URLs still resolve for now, so existing sites will keep building, but you should update your references so future updates come from the new location.
What changed #
- Organisation and repository name changed as shown above.
- Module path changed from
github.com/theNewDynamic/gohugo-theme-ananke/v2togithub.com/gohugo-ananke/ananke/v2. The/v2suffix is unchanged and still required for the latest theme on the v2 branch. - Installation methods are unchanged. If you are installing fresh rather than migrating, follow Install as Hugo Module or Install as Git Submodule instead of this page.
Migrate a Hugo Module install #
Search your site configuration for the old module path and replace every
instance of github.com/theNewDynamic/gohugo-theme-ananke/v2 with github.com/gohugo-ananke/ananke/v2.
This usually appears in config/_default/module.toml (or your root
configuration file) and in go.mod. After replacing it, update the module
graph:
hugo mod get github.com/gohugo-ananke/ananke/v2
hugo mod tidyCommit the updated go.mod and go.sum.
Migrate a Git submodule install #
Point the existing submodule at the new remote. From your site root:
cd themes/ananke
git remote set-url origin https://github.com/gohugo-ananke/ananke.git
cd ../..
git submodule syncThen update the URL in the .gitmodules file at the root of your repository, replacing theNewDynamic/gohugo-theme-ananke with gohugo-ananke/ananke. Commit both .gitmodules and the updated submodule reference.
Confirm the theme is loaded #
After migrating with either method, verify the new path is in use and the site still builds.
For Hugo Modules, inspect the module graph — it should list github.com/gohugo-ananke/ananke/v2 and no longer mention theNewDynamic:
hugo mod graphFor both methods, build and serve the site locally:
hugo serverOpen http://localhost:1313/. If the homepage renders with the hero header and styling, the theme is loaded correctly.
You can also confirm the merged configuration sees the theme:
hugo config | grep -i themeCommon failure cases #
module ... not foundafter migrating. The old path is still referenced somewhere. Search the whole project (includinggo.modandgo.sum) fortheNewDynamicand replace it, then runhugo mod tidyagain.- Submodule still points at the old remote. Run
git submodule syncafter editing.gitmodules, and check withgit config --file .gitmodules --get-regexp url. - Styling missing after migration. Clear Hugo’s caches and rebuild:
hugo --gc(Modules) or deleteresources/_genand rebuild. See Troubleshooting. - Build still uses the old version. For Modules, run
hugo mod get -u github.com/gohugo-ananke/ananke/v2to force an update, thenhugo mod tidy.
For anything else, ask in GitHub Discussions.