Purpose
Refactor the code base to use metadata in generation and simplify process for generating content.
Notes
Major changes
- When collecting the information about files and their locations, make it easier to access that data one time instead of in 12 different formats. For example, with templates the environment should be passed around since it knows where all the templates' files are, instead of passing the theme name and implicitly finding it every time
- Should locate top-level files earlier, and make sure to include blog-type sections in those top-level files
- rewrite image management (filter and export)
- Move site state into an object that holds all file locations
- Tag rendering so that multiple blog-type sections can be used
- Have pages export to folders by section, and make the names url safe (i.e. "My & Post" in the blog section should be at
/blog/my-post.html)
Goals
Purpose
Refactor the code base to use metadata in generation and simplify process for generating content.
Notes
ezcv.core.generate_site()&ezcv.core.get_site_configezcv.filtersAll functions in here, but importantly will need to support injecting custom filters (and document it)ezcv.contentMajor changes
/blog/my-post.html)Goals
<section_name>_htmlis set to""so templates can know if the html is available.