diff --git a/app/event/views.py b/app/event/views.py index 0a4745d..2f6db16 100644 --- a/app/event/views.py +++ b/app/event/views.py @@ -11,7 +11,8 @@ def events(request, slug=''): context = {} context['settings'] = settings context['events'] = Event.objects.all().order_by('position') - context['intro'], c = Page.objects.get_or_create(slug='intro') + context['about'], c = Page.objects.get_or_create(slug='about') + context['imprint'], c = Page.objects.get_or_create(slug='imprint') return render(request, 'events.html', context) diff --git a/app/templates/events.html b/app/templates/events.html index aa8affa..e6f8317 100644 --- a/app/templates/events.html +++ b/app/templates/events.html @@ -2,12 +2,12 @@ {% block title %}{{ settings.title }}{% endblock title %} {% block main %}