Render Engine Theme Support Ideation #166
kjaymiller
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Documenting my thoughts on how I am considering supporting themes in Render Engine.
Current Implementation
engine.py
uses a `ChoiceLoader to check multiple locations.Idea for Implementation
The easiest implementation would be to insert a loader between the local templates and the base templates.
Instead of inserting at index 1 we can use an entry point for plugins to be entered. This would not only allow for base theming but also allow for manipulation of local templates.
You can remove the default
templates
path and instead pass in any photos in the site initialization.if there is a templates value for the site
Examples of Potential Templates that would be relatively easy to fork implement off of
Expected Implementation
I'm hoping to to get this implement in 2023.6. For 2023.5 I want to focus on getting render engine in a very stable and tested position. I will also be travelling during May so I don't know how much development that I can fit in.
Beta Was this translation helpful? Give feedback.
All reactions