docs icon indicating copy to clipboard operation
docs copied to clipboard

Fix duplicate YAML keys in front matter

Open bep opened this issue 1 month ago • 1 comments

Hugo upgraded its YAML library to a YAML 1.1 compliant version in v0.152.0 (https://github.com/gohugoio/hugo/releases/tag/v0.152.0), which now throws an error on duplicate keys.

This commit fixes that. Note that:

  • The old behaviour was to keep the last occurrence of a duplicate key, so that's is the most commin strategy used here.
  • But I have also manually inspected and merged some of them.

bep avatar Nov 05 '25 10:11 bep

Deploy Preview for nostalgic-ptolemy-b01ab8 ready!

Name Link
Latest commit 1a43ab5ab57466b9811d161a1247d21447afe463
Latest deploy log https://app.netlify.com/projects/nostalgic-ptolemy-b01ab8/deploys/690b2690a95a080008c5b70e
Deploy Preview https://deploy-preview-7360--nostalgic-ptolemy-b01ab8.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 05 '25 10:11 netlify[bot]