Web/layouts/projects/list.html

23 lines
711 B
HTML
Raw Permalink Normal View History

2024-03-25 23:05:37 +01:00
{{ define "main" }}
{{ .Content }}
<div class="row center-xs middle-xs">
{{ range .Pages.ByDate.Reverse }}
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="row center-xs middle-xs">
<div class="col-xs">
<img src="/{{ .Params.image }}" alt="Event image">
</div>
<div class="col-xs">
<p><strong>{{ .Title }}</strong></p>
<p>{{ .Description }}</p>
<p>📅: {{ partial "time.html" . }}</p>
<p>📍: {{ .Params.place }}</p>
2024-03-30 20:38:32 +01:00
<p><i>{{ T (cond (eq (.Params.finished) true) "finished" "unfinished") }}</i></p>
2024-03-25 23:05:37 +01:00
<a class="button" href="{{ .Permalink }}">Info</a>
</div>
</div>
</div>
{{ end }}
</div>
{{ end }}