I’m trying to use archetypes to create a toml file for use with a data template.
I have the following:
archetypes/ ├── default.md └── mydata.toml
Right now, running
hugo new mydata/newdata.toml creates the expected file under
content/mydata/newdata.toml. It would be nice to have the file placed under the
data/ directory instead using a similar command.
Maybe there could be a special directory under
archetypes/data/ or a flag for
hugo new of some kind? Any solution would be great. Thoughts?