Use SiteConfiguration's text for quasi-static pages
This commit is contained in:
parent
db0f7fa5b2
commit
3f43ccdc4e
2 changed files with 10 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
{% load solo_tags %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Imma website!</h1>
|
{% get_solo 'mainsite.SiteConfiguration' as site_config %}
|
||||||
|
|
||||||
|
{{ site_config.homepageText | safe }}
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
{% load solo_tags %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Plz send articlez!</h1>
|
{% get_solo 'mainsite.SiteConfiguration' as site_config %}
|
||||||
|
|
||||||
|
{{ site_config.writearticleText | safe }}
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in a new issue