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:
parent
dd95ce4c3c
commit
a62272d82e
2 changed files with 14 additions and 0 deletions
|
@ -135,3 +135,10 @@ body {
|
|||
color: #505050;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.last-publication {
|
||||
font-size: 2em;
|
||||
text-align: center;
|
||||
padding: 30px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,13 @@
|
|||
{% block content %}
|
||||
{% 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 }}
|
||||
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in a new issue