Skip to main content

Stable Output

Disabling the Generator Meta

Option The theme adds a meta tag with its version number to each page.

This isn’t a security risk and helps us support you better.

To turn this off, set disableGeneratorVersion to true.

hugo.
params:
  disableGeneratorVersion: true
[params]
  disableGeneratorVersion = true
{
   "params": {
      "disableGeneratorVersion": true
   }
}

If you also want to turn off Hugo’s version meta tag, set disableHugoGeneratorInject to true.

Disabling IDs for Referenced Assets

Option The theme puts a hash of each referenced asset’s content into its file name to make browsers not keep outdated cached assets.

As the hash only changes once the asset itself changes, a rebuild of unchanged content results in unchanged file names. You only need to switch this off if your setup can not deal with file names that change at all.

To disable this, set disableAssetsBusting to true.

hugo.
params:
  disableAssetsBusting: true
[params]
  disableAssetsBusting = true
{
   "params": {
      "disableAssetsBusting": true
   }
}

Disabling IDs for Interactive HTML Elements

Option Features like expanders, notices, and tabs use unique IDs to work. These IDs change with each build.

This is necessary for the theme to work properly, but it can make comparing outputs between builds difficult.

To turn this off, set disableRandomIds to true. Note, that this will result in a non-functional site!.

hugo.
params:
  disableRandomIds: true
[params]
  disableRandomIds = true
{
   "params": {
      "disableRandomIds": true
   }
}

Disabling Assets Minification

Option If minify is set to true, further theme assets will be minified during build. If no value is set, the theme will avoid minification if you have started with hugo server and otherwise will minify.

hugo.
params:
  minify: false
[params]
  minify = false
{
   "params": {
      "minify": false
   }
}