config: Preserve intentionally empty maps

Closes #14944
This commit is contained in:
Joe Mooring
2026-05-25 17:44:50 -07:00
committed by Bjørn Erik Pedersen
parent df5421918a
commit 80e60847fb
2 changed files with 10 additions and 5 deletions
+1
View File
@@ -6,6 +6,7 @@ stdout 'Display project configuration'
hugo config
stdout 'baseurl = .https://example.com/'
stdout '\[contenttypes\.'
hugo config --format json
stdout '\"baseurl\": \"https://example.com/\",'