Trial homepage via flatpages
This commit is contained in:
parent
9cb0c6f676
commit
87fdbd8af1
2 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue