remove redundant border

This commit is contained in:
Set Sakrecoer 2019-06-19 15:37:46 +02:00
parent c3d72f0d7d
commit 35e7f49d89

View file

@ -8,7 +8,7 @@ image: /uploads/stickerwall.jpg
<h3>Kommande event</h3> <h3>Kommande event</h3>
{% capture now -%}{{ site.time | date: '%s' }}{%- endcapture %} {% for event in site.events %} {% capture endtime -%} {{ event.event_data.end_datetime | date: '%s' }} {%- endcapture %} {% if now <= endtime %} {% capture now -%}{{ site.time | date: '%s' }}{%- endcapture %} {% for event in site.events %} {% capture endtime -%} {{ event.event_data.end_datetime | date: '%s' }} {%- endcapture %} {% if now <= endtime %}
<div class="column" style="margin-left: 0;"> <div class="column" style="margin-left: 0;{% if forloop.last == true %}border: none;{% endif %}">
<a href="cloudcannon:collections/{{ event.path }}" class="editor-link cms-editor-link">Redigera Event</a> <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> <h2><a href="{{ event.url }}" class="nodecoration" style="border:none;">{{ event.title }}</a></h2>
<a href="{{ site.baseurl }}{{ event.url }}"><img src="{{ event.image }}" width="100%" style="margin-bottom: 30px;" /></a> <a href="{{ site.baseurl }}{{ event.url }}"><img src="{{ event.image }}" width="100%" style="margin-bottom: 30px;" /></a>