Rework the theme system to allow overriding of individual files
daKmoR opened this issue · comments
Right now for every file that we want an override to be possible, we need to special handle it in the config and in the theme template.
Ideally, we have a "folder merger" that takes in a theme (or multiple) and merges them together with the users doc folder (e.g. _includes and _data) and saves it somewhere ( for example ._includesWithTheme
, ._dataWithTheme
) we then use this as the source for 11ty...
that way users can override individual templates by providing these files within their own _includes
...
it is done 🎉