forked from DGNum/gestioCOF
Cleaner homepage
This commit is contained in:
parent
38af50a866
commit
0e19abb51a
4 changed files with 62 additions and 27 deletions
|
@ -17,12 +17,15 @@
|
|||
<div class="actu-header" {% if actu.image %}{% image actu.image fill-400x200 as img %}style="background-image:url('{{ img.url }}');"{% endif %}>
|
||||
<h2><a href="{% pageurl actu %}">{{ actu.title }}</a></h2>
|
||||
</div>
|
||||
{% if actu.is_event %}
|
||||
<div class="actu-misc">
|
||||
<div class="actu-misc">
|
||||
{% if actu.is_event %}
|
||||
{% get_current_language as curlang %}
|
||||
<span class="actu-minical">{% mini_calendar actu curlang %}</span><span class="actu-dates">{{ actu.dates }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ actu.body|safe|truncatewords_html:25 }}
|
||||
{% endif %}
|
||||
</div>
|
||||
<a href="{% pageurl actu %}" class="actu-overlay"></a>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue