diff --git a/apps/courses/context_processors.py b/apps/courses/context_processors.py new file mode 100644 index 0000000..54891c3 --- /dev/null +++ b/apps/courses/context_processors.py @@ -0,0 +1,12 @@ +DESCRIPTION = ( + "Buscador de ramos para la Universidad Católica, " + "ideal para planificar tu horario y encontrar electivos. " + "Una alternativa a Buscacursos UC." +) + +IMG_PATH = "/dist/favicon.ico" + + +def defaults(_request): + "Loads the default template variables" + return {"fallback_description": DESCRIPTION, "fallback_img_path": IMG_PATH} diff --git a/front/templates/base.html b/front/templates/base.html index a6fe8de..6ec4c76 100644 --- a/front/templates/base.html +++ b/front/templates/base.html @@ -5,7 +5,16 @@
-