This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/layouts/custom/latest-changes.html

29 lines
619 B
HTML
Raw Normal View History

{{ define "main" }}
<h2>Laatste wijzigingen</h2>
2023-05-14 16:35:30 +02:00
{{ $byLastMod := .Site.RegularPages.ByLastmod.Reverse }}
2023-05-14 16:35:30 +02:00
<table>
<thead>
<tr>
<th>Datum</th>
<th>Titel</th>
<th>Taal</th>
<th>Bestandsnaam</th>
</tr>
</thead>
<tbody>
{{ range $byLastMod }}
<tr>
2023-05-14 16:35:30 +02:00
<td>{{ .Lastmod | dateFormat "2006-01-02 15:04:05" }}</td>
<td>{{ .Title }}</td>
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
</tr>
{{ end }}
2023-05-14 16:35:30 +02:00
</tbody>
</table>
<div>{{ .Content }}</div>
{{ end }}