UNCLASSIFIED - NO CUI

Skip to content

Update dependency gohugoio/hugo to v0.96.0

renovate requested to merge renovate/gohugoio-hugo-0.x into development

This MR contains the following updates:

Package Type Update Change
gohugoio/hugo ironbank-github minor v0.95.0 -> v0.96.0
gohugoio/hugo minor v0.95.0 -> v0.96.0

Release Notes

gohugoio/hugo

v0.96.0

Compare Source

Vertical merging of content mounts. The main topic of this release is about file mounts (see #​9693). We have had a powerful and well defined merge strategy for the union filesystems for the Hugo Modules tree on the horizontal axis (left to right), but not so much for the vertical configuration within each module (e.g. multiple content mounts for the same language). It was @​jmooring who pointed out how useful this could be, and even provided this example where missing translations gets filled in from other language(s):

#------------------------------------------------------------------------------
##### Content mounts
#------------------------------------------------------------------------------
##### EN content
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'en'
##### DE content
[[module.mounts]]
source = 'content/de'
target = 'content'
lang = 'de'
##### NL content
[[module.mounts]]
source = 'content/nl'
target = 'content'
lang = 'nl'

#------------------------------------------------------------------------------
##### Fill in the missing translations
#------------------------------------------------------------------------------
##### This fills in the gaps in DE content with EN content
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'de'
##### This fills in the gaps in NL content with EN content.
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'nl'

Also, we have added some details to the .Err object you get when resources.GetRemote fails, which can be useful when debugging errrors (see #​9708). Not you can do something like:

{{ with $result := resources.GetRemote $url }}
  {{ with .Err }}
    {{ warnf "%s: %#v" .Error .Data}}
  {{ else }}
    {{ with .Content | unmarshal }}
      {{ warnf "%#v" . }}
    {{ end }}
  {{ end }}
{{ end }}

The .Data object above is a map and currently contains StatusCode, Status, Body, TransferEncoding, ContentLength, and ContentType.

This release represents 23 contributions by 8 contributors to the main Hugo code base.@​bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @​jmooring, @​dependabot[bot], and @​anthonyfok for their ongoing contributions. And thanks to @​digitalcraftsman for his ongoing work on keeping the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs, which has received 5 contributions by 3 contributors.

Hugo now has:

Notes
Changes

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports