Trial homepage via flatpages

This commit is contained in:
Ben Sturmfels 2023-05-05 11:19:52 +10:00
parent 9cb0c6f676
commit 87fdbd8af1
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
2 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@
{% block content %}
<div class="row">
<div class="col-12 content text-page" style="max-width: 45rem">
<div class="col-12 content text-page"{% if flatpage.url != '/' %} style="max-width: 45rem"{% endif %}>
{{ flatpage.content }}
</div>
</div>

View file

@ -12,7 +12,8 @@ import symposion.views
urlpatterns = [
path('', TemplateView.as_view(template_name="homepage.html")),
# Trialling homepage via flatpages.
# path('', TemplateView.as_view(template_name="homepage.html")),
path('saml2/', include('djangosaml2.urls')),
path('admin/', admin.site.urls),