> For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt.

# Hugo at GetGeek

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

## Build command and output \{#byggkommando-och-output}

By default we run:

```sh
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](mailto:support@getgeek.se) and
we will change it for your site.

## Hugo version \{#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.

:::info 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](/en/static/egen-byggpipeline.md)
and let us publish the result.
:::

## `baseURL` \{#baseurl}

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

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

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

## Themes \{#teman}

**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 \{#egen-404-sida}

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 \{#det-har-ingar-inte}

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](https://portal.getgeek.se/index.php/cart/vps/).
