7
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/layouts/custom/latest-changes.html

29 lines
619 B
HTML

{{ define "main" }}
<h2>Laatste wijzigingen</h2>
{{ $byLastMod := .Site.RegularPages.ByLastmod.Reverse }}
<table>
<thead>
<tr>
<th>Datum</th>
<th>Titel</th>
<th>Taal</th>
<th>Bestandsnaam</th>
</tr>
</thead>
<tbody>
{{ range $byLastMod }}
<tr>
<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 }}
</tbody>
</table>
<div>{{ .Content }}</div>
{{ end }}