layout
This commit is contained in:
parent
7800a2c4c3
commit
5285f9e272
1 changed files with 5 additions and 3 deletions
|
|
@ -8,12 +8,14 @@
|
|||
{% if event.event_data.end_datetime >= now %}
|
||||
<div class="column2">
|
||||
<a href="cloudcannon:collections/{{ event.path }}" class="editor-link cms-editor-link">Redigera Event</a>
|
||||
<h2><a href="{{ event.url }}" class="nodecoration" style="border:none;">{{ event.title }}</a></h2>
|
||||
<a href="{{ site.baseurl }}{{ event.url }}" title="Event: {{ event.title }}" alt="Event: {{ event.title }}"
|
||||
style="border:none">
|
||||
style="border:none">
|
||||
<img src="{{ event.image }}" style="margin-bottom: 30px;" title="Event: {{ event.title }}"
|
||||
alt="Event: {{ event.title }}" />
|
||||
</a>
|
||||
<h2><a href="{{ event.url }}" class="nodecoration" style="border:none;">{{ event.title }}</a></h2>
|
||||
|
||||
<h3 style="margin-bottom: 30px;">{{ event.description | truncatewords: 17 }}</h3>
|
||||
<p><strong>{% assign d = event.event_data.start_datetime | date: "%-d" %}{% case d %}{% when '1' or '21' or '31' or '2' or '22' %}{{ d }}:a
|
||||
{% else %}{{ d }}:e{% endcase %} {% assign m = event.event_data.start_datetime | date: "%-m" %} {% case m %}
|
||||
{% when '1' %}Januari {% when '2' %}Februari {% when '3' %}Mars {% when '4' %}April {% when '5' %}Maj
|
||||
|
|
@ -22,7 +24,7 @@
|
|||
{{ event.event_data.start_datetime | date: "%Y" }}
|
||||
kl. {{ event.event_data.start_datetime | date: "%R"}}</strong><br />
|
||||
Typ av konst: {{ event.category }}</p>
|
||||
<h3 style="margin-bottom: 30px;">{{ event.description | truncatewords: 10 }}</h3>
|
||||
|
||||
<a href="{{ event.url }}" class="cta">Läs mer</a><br /><br />
|
||||
</div> {% endif %} {% endfor %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue