I have this config:
[permalinks]
post = "/:year/:month/:slug/"
[outputFormats.text]
mediatype = "text/plain"
baseName = "copy"
isPlainText = true
[outputs]
page = ["html", "text"]
So for a post with the URL /2023/08/hello-there
, it creates both 2023/08/hello-there/index.html
and 2023/08/hello-there/copy.text
. But Iām wondering if there is some way to configure the text output format to use the slug for the file name instead of the directory, so that it would instead create 2023/08/hello-there.text
ā in other words, on the same level as the hello-there
(slug) directory.
So far in my fiddling it appears everything just goes into the directory (yay page bundles!). So before I went too far down the path of trying different things I thought Iād ask here whether this sort of pattern is even possible in Hugo today ā and if so, how?