Version 5.1

See the changelog of this version for a detailed list of changes.
  • 0.126.0 Minimum required Hugo version

  • Breaking Change requiring action after upgrade

  • Change Change of behavior, may require action

  • New New behavior, often introducing new options


5.1.0 (2022-07-15)

Hugo 0.95.0

  • 0.95.0 This release requires a newer Hugo version.

Change

  • Change Because the print preview URLs were non deterministic for normal pages in comparison to page bundles, this is now changed. Each print preview is now accessible by adding a index.print.html to the default URL.

    You can revert this behavior by overwriting the print output format setting in your hugo.tomlto:

    hugo.
    [outputFormats]
      [outputFormats.print]
        baseName = 'index'
        isHTML = true
        mediaType = 'text/html'
        name = 'print'
        path = '_print'
        permalinkable = false
    outputFormats:
      print:
        baseName: index
        isHTML: true
        mediaType: text/html
        name: print
        path: _print
        permalinkable: false
    {
       "outputFormats": {
          "print": {
             "baseName": "index",
             "isHTML": true,
             "mediaType": "text/html",
             "name": "print",
             "path": "_print",
             "permalinkable": false
          }
       }
    }