gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
76.11k stars 7.54k forks source link

Add ./hugo.txtar #10363

Open bep opened 2 years ago

bep commented 2 years ago

This is related to #9726 ...

It would be cool, especially for smaller setups and template projects/modules to have a compact way to add a file structure to a project. I really like working with txtar files in integration testing, and I suspect it would work great in this setting, too, e.g.:

-- config.toml --
baseURL = "https://example.org"
-- content/posts/_index.md --
CONTENT HERE

Real files in the same file mount would win on duplicates.

nikzayn commented 2 years ago

I'd like to take this up!

bep commented 2 years ago

This is a proposal and still in a planning state.