Template.py +
March 13, 2023 ยท View on GitHub
Template generic variables that includes some functionalities.
Theme
All the application works with dark/light mode theme. This adds the variable theme to every template in order to know which theme prefers the user.
Navigation
On the get_main_nav function of the python file can change what the user sees on the main navbar.
Other hackathon variables
Here can be seen variables to use in the templates in order to not hardcode any setting from the hackathon. Doing this changes can be done easy from the hackathon_variables.py.