Özgür Yazılım Derneği web sitesi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
oyd-web/layouts/partials/events.html

13 lines
439 B

{{ range $i, $element := sort $.Site.Data.events.events "iso8601" }}
{{ if and (le $i 2) (now.Before (time .iso8601)) }}
<div class="event {{ if eq (mod $i 2) 1 }}odd{{else}}even{{end}}">
<div class="eventTitle"><a href="{{ .url }}">{{ .title }}</a></div>
<div class="eventLocation">{{ .where }}</div>
<div class="eventDate">{{ .when }}</div>
<div class="eventDetails">{{ .what | markdownify }}</div>
</div>
{{ end }}
{{ end }}