Add a link to latest publication on homepage

Note: the CSS is utterly horrible. Please change this asap.
Close #5
This commit is contained in:
Théophile Bastian 2017-09-24 19:30:35 +02:00
parent dd95ce4c3c
commit a62272d82e
2 changed files with 14 additions and 0 deletions

View file

@ -135,3 +135,10 @@ body {
color: #505050; color: #505050;
font-style: italic; font-style: italic;
} }
.last-publication {
font-size: 2em;
text-align: center;
padding: 30px;
font-weight: bold;
}

View file

@ -5,6 +5,13 @@
{% block content %} {% block content %}
{% get_solo 'mainsite.SiteConfiguration' as site_config %} {% get_solo 'mainsite.SiteConfiguration' as site_config %}
<div class="last-publication">
<p>
Demandez la
<a href={% url "latestPublication" %}>dernière édition</a> !
</p>
</div>
{{ site_config.homepageText | markdownify }} {{ site_config.homepageText | markdownify }}
{% endblock content %} {% endblock content %}