Use SiteConfiguration's text for quasi-static pages

This commit is contained in:
Théophile Bastian 2017-09-22 18:12:53 +02:00
parent db0f7fa5b2
commit 3f43ccdc4e
2 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,9 @@
{% extends "base.html" %}
{% load solo_tags %}
{% block content %}
<h1>Imma website!</h1>
{% get_solo 'mainsite.SiteConfiguration' as site_config %}
{{ site_config.homepageText | safe }}
{% endblock content %}

View file

@ -1,5 +1,9 @@
{% extends "base.html" %}
{% load solo_tags %}
{% block content %}
<h1>Plz send articlez!</h1>
{% get_solo 'mainsite.SiteConfiguration' as site_config %}
{{ site_config.writearticleText | safe }}
{% endblock content %}