Open mfisher87 opened 8 months ago
Hey, do you have some specific suggestions regarding this.
Hey Sherwin, good to hear from you :) I think one good way is to continue using the Jinja global mechanism we're using to pass in the documentation URLs, etc., and use that to pass current_year=dt.date.today().year
. What do you think?
Another option would be to pass in the whole datetime
module so then templates can use it to do arbitrary date stuff.
I don't have strong feelings either way, and it would be easy to change later if we want.
Hey, I too had thought about the solutions that you suggested and i was thinking maybe we should make a single file where we can incorporate all the changes like this one , i think that would help a lot in identifying all the changes.
maybe we should make a single file where we can incorporate all the changes like this one , i think that would help a lot in identifying all the changes.
Not sure I get it 100%. Do you mean create a single Jinja template for footer; or create a single Python file for the code which handles configuring the globals?
This is super low-priority, but it'd be nice to have :)