use overlay

This commit is contained in:
j 2023-07-27 09:20:30 +02:00
parent 0da6a11606
commit 310cf4659d
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@
</div> </div>
</header> </header>
<div class="about"> <div class="about">
{{ about.content | safe }} {{ overlay.content | safe }}
</div> </div>
<div class="user"> <div class="user">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}

View file

@ -6,5 +6,5 @@ from .page.models import Page
def default_context(request): def default_context(request):
context = {} context = {}
context['settings'] = settings context['settings'] = settings
context['about'] = Page.objects.filter(slug="about").first() context['overlay'] = Page.objects.filter(slug="overlay").first()
return context return context