I’m confused by the lack of a 1:1 relationship between this table and actual Hugo behavior.
In the table, every mediaType has a “map”:
map[delimiter:. mainType:text string:text/html subType:html suffixes:[html] type:text/html]
But in Hugo itself, and the config
, you will see just the MIME type: text/html
. This “map” construction is not explained in the docs, and using it in the config doesn’t seem to do anything. I’m interested in getting down to nuts and bolts and re-creating / customizing the default HTML
output format, and I can’t do that if I don’t have an accurate understanding of that table. I’ve noted an issue with name vs. Name, which makes me wonder if the rest of the table is accurate.
baseName
the base filename for the list filenames (homepage, etc.). Default:
index
.
Is this true? I’ve had some success customizing baseName even on single content pages.