2023-10-20 23:36:39 +02:00
|
|
|
{{- index .Site.Data "calendar.json" }}
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Datum</td>
|
|
|
|
<td>Titel</td>
|
|
|
|
<td>Ort</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2023-11-03 21:14:06 +01:00
|
|
|
{{- range first 7 (sort $.Site.Data.calendar "dtstart" ) }}
|
2023-10-20 23:36:39 +02:00
|
|
|
{{- if eq ._type "vevent"}}
|
|
|
|
<tr>
|
|
|
|
{{- $start := time .dtstart }}
|
2023-11-04 20:43:29 +01:00
|
|
|
<td style="font-variant-numeric: tabular-nums;">{{ $start.Local.Format "Mon, 2006-01-02 15:04" }}</td>
|
2023-10-20 23:36:39 +02:00
|
|
|
<td>{{ .summary }}</td>
|
|
|
|
<td>{{ .location }}</td>
|
|
|
|
</tr>
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|