mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
output: Prevent setting Name directly in new output formats
Name is derived from the map key. Closes #11947
This commit is contained in:
@@ -330,8 +330,7 @@ func TestGetOutputFormatRel(t *testing.T) {
|
||||
b := newTestSitesBuilder(t).
|
||||
WithSimpleConfigFileAndSettings(map[string]any{
|
||||
"outputFormats": map[string]any{
|
||||
"humansTXT": map[string]any{
|
||||
"name": "HUMANS",
|
||||
"HUMANS": map[string]any{
|
||||
"mediaType": "text/plain",
|
||||
"baseName": "humans",
|
||||
"isPlainText": true,
|
||||
|
Reference in New Issue
Block a user