formating

This commit is contained in:
Set Sakrecoer 2019-06-18 13:34:28 +02:00
parent 3a73659f44
commit 2f55324209
2 changed files with 14 additions and 17 deletions

View file

@ -1,6 +1,7 @@
<h3>Förflutna events</h3>
{% capture now -%}{{ site.time | date: '%s' }}{%- endcapture %}
{% capture now -%}
{{ site.time | date: '%s' }}
{%- endcapture %}
{% for event in site.events %}
{% capture endtime -%}
@ -8,16 +9,13 @@
{%- endcapture %}
{% if now >= endtime %}
<div>
<a href="{{ event.url }}"><img src="{{ event.image }}" width="30%" /></a>
<h4>{{ event.event_data.start_datetime | date: '%Y-%m-%d' }}<br />
<a href="{{ event.url }}">{{ event.title }}</a>
</h4>
<br />
</div>
{% endif %}
{% endfor %}

View file

@ -5,11 +5,10 @@ layout: default
---
<!-- begin /index.html -->
<div class="column">
<h3>{{ page.title }} - {{ site.title }}</h3>
<h1>{{ page.title }} - {{ site.title }}</h1>
<p>{{ site.description }}</p>
<h4><a href="/about/" class="cta" alt="About Momangen">Om oss</a></h4>
{% include hittahit.html %}
</div>
<div class="column">