aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/context_processors.py (follow)
Commit message (Collapse)AuthorAgeLines
* Fix all conflictsGravatar hedy2023-12-14-3/+2
|\ | | | | | | hopefully I dont have to do this again
| * Remove and merge superfluous modulesGravatar Johannes Christ2022-02-26-3/+2
| | | | | | | | The constants module more or less did what belongs to the settings.
* | Correct typehintsGravatar GDWR2022-02-07-2/+2
|/
* Move the SHA into constants.py.Gravatar Leon Sandøy2020-08-22-2/+2
| | | | The util was redundant. Thanks @MarkKoz
* Move git SHA fetcher into its own file.Gravatar Leon Sandøy2020-08-22-1/+1
| | | | Fix tests.
* Move git SHA fetcher into utils.Gravatar Leon Sandøy2020-08-22-2/+2
|
* Move git SHA initialization to __init__.py.Gravatar Leon Sandøy2020-08-22-4/+2
| | | | This will make it easier to use in multiple places.
* Add a context processor that outputs the git SHA.Gravatar Leon Sandøy2020-08-22-0/+10
This will make the SHA available in all templates.