-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I think it would advanced understanding and prevent errors when the data describing the theme (i.e. the appearances) and the content data (the files with input in markdown or other) to deliver.
The change is simply to create a folder theme to include a folder static (with the same content as before, except that a second folder staticData is to be included in data to hold content) and a folder templates (content as before), the files menu.yml, settings.yml and - if needed - stuff.sqlite. The project.yml folder should go into theme, but I have not yet tried this.
The changes in the code are two small ones (as far as I can see): there are two places where templates is mentioned and it is to be changed to theme/templates. The other changes are in menu.yml and project.yml specif per project.
Do you think this helps clarity? Are there other drawback, i did not see? I can send you a pull request for the change and the changes in the documentation - if you like it.
My ultimate motive is to be able to use Pelican themes with sprinkle, which I will study later. There are a number of nice looking themes there and it would give usability a great boost if these could be used with limited adaption.