For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/static/hugo.md.
  • English
  • Hugo at GetGeek

    Most things work exactly as when you run hugo locally. This is what's good to know.

    Build command and output

    By default we run:

    hugo --minify

    in the root of your repository, and publish the public/ directory. If your site needs a different command or a different output directory, write to support@getgeek.se and we will change it for your site.

    Hugo version

    The Hugo version is pinned per site. If you leave the field empty the site gets our standard version (currently 0.165.0), which is then kept fixed. A new Hugo release therefore never changes your site unless you have asked for it. If you want to change version, change the Hugo version under Ändra uppgifter (edit details) on the service page. Feel free to test the new version locally first: Hugo sometimes changes behaviour between versions.

    We build with Hugo's extended edition (SCSS/Sass via LibSass), and the environment also includes Git and Go, which Hugo Modules need.

    Node.js is not included

    If your site builds with npm — for example PostCSS, Tailwind or esbuild plugins via package.json — you can build it yourself with GitHub Actions and let us publish the result.

    baseURL

    Set baseURL to your primary domain (the first one you gave when ordering):

    hugo.toml
    baseURL = "https://www.example.com/"

    Other domains redirect to the primary domain, so all links and canonical addresses come out right.

    Themes

    Hugo Modules work as usual, as long as the modules can be fetched publicly.

    Git submodules are fetched automatically. Note that the deploy key only gives access to your repository. A theme included as a submodule must therefore be public — and the submodule's address should be an https:// address, not git@….

    Custom 404 page

    Put a layouts/404.html in your theme or your site. Hugo builds it to public/404.html, and we show it for every address that doesn't exist.

    What's not included

    GetGeek Static serves static files. There is no server-side code, no form back-ends and no redirect rules beyond the domains. If you need, for example, a contact form, use an external form service or your own VPS.