2024-04-03 11:51:52 +02:00
|
|
|
{{ define "main" }} {{ partial "page-header" . }}
|
2024-05-08 09:46:15 +02:00
|
|
|
<div class="center-layout">
|
|
|
|
<ul class="list">
|
|
|
|
{{ if gt (len (where .Site.RegularPages "Section" "events")) 0 }}
|
|
|
|
<section>
|
2024-05-08 15:44:32 +02:00
|
|
|
<div class="header-with-image">
|
|
|
|
<img src="/images/users.png" alt="Image">
|
|
|
|
<h4 class="mb-4">Events</h4>
|
|
|
|
</div>
|
2024-05-08 09:46:15 +02:00
|
|
|
<ul class="list">
|
|
|
|
{{ range (first 5 (where .Site.RegularPages "Section" "events").ByDate.Reverse) }}
|
|
|
|
<li class="list-item">
|
|
|
|
<div class="content">
|
2024-05-08 15:44:32 +02:00
|
|
|
<a class="link" href="{{ .RelPermalink }}" style="color: #FF6E00">{{ .Title }}</a>
|
2024-04-03 11:51:52 +02:00
|
|
|
</div>
|
2024-05-08 09:46:15 +02:00
|
|
|
<hr class="hr-list">
|
2024-05-09 16:47:15 +02:00
|
|
|
|
2024-05-08 09:46:15 +02:00
|
|
|
<time class="g time" datetime="{{ dateFormat "2006-01-02" .Date }}">{{ dateFormat "02-01-2006" .Date }}</time>
|
2024-05-08 15:44:32 +02:00
|
|
|
<hr class="hr-list2">
|
2024-05-08 09:46:15 +02:00
|
|
|
</li>
|
2024-05-09 16:47:15 +02:00
|
|
|
<div class="line"></div>
|
2024-05-08 09:46:15 +02:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2024-05-09 16:47:15 +02:00
|
|
|
|
2024-05-08 09:46:15 +02:00
|
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2024-05-09 16:47:15 +02:00
|
|
|
|
2024-05-08 09:46:15 +02:00
|
|
|
</div>
|
2024-05-09 16:47:15 +02:00
|
|
|
|
2024-04-03 11:51:52 +02:00
|
|
|
{{ end }}
|