From 310cf4659d67b809d9451160097858d807eeef38 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 27 Jul 2023 09:20:30 +0200 Subject: [PATCH] use overlay --- app/templates/base.html | 2 +- app/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 4e5e2c3..4e18837 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -38,7 +38,7 @@
- {{ about.content | safe }} + {{ overlay.content | safe }}
{% if request.user.is_authenticated %} diff --git a/app/utils.py b/app/utils.py index 4ad3432..7bfbc6e 100644 --- a/app/utils.py +++ b/app/utils.py @@ -6,5 +6,5 @@ from .page.models import Page def default_context(request): context = {} context['settings'] = settings - context['about'] = Page.objects.filter(slug="about").first() + context['overlay'] = Page.objects.filter(slug="overlay").first() return context