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

34 lines
979 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
2023-05-15 13:18:38 +02:00
<div>{{ .Content }}</div>
2023-05-15 13:18:38 +02:00
<h2>Laatste wijzigingen</h2>
{{ $byLastMod := .Site.RegularPages.ByLastmod.Reverse }}
<div class="table-wrapper">
<table class="fl-table">
<thead>
<tr>
<th>Datum</th>
<th>Titel</th>
{{ if .Site.IsServer }}
<th>Taal</th>
<th>Bestandsnaam</th>
{{ end }}
</tr>
</thead>
<tbody>
{{ range first 50 $byLastMod }}
<tr>
2023-05-24 00:54:58 +02:00
<td><time datetime="{{ .Lastmod | dateFormat "2006-01-02T15:04:05" }}">{{ .Lastmod | dateFormat "2006-01-02 15:04:05" }}</time></td>
2023-05-18 19:20:05 +02:00
<td><a href="{{ .RelPermalink }}">{{ .Title | default .Site.Params.textNoTitle }}</a></td>
2023-05-15 13:18:38 +02:00
{{ if .Site.IsServer }}
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
{{ end }}
</tr>
{{ end }}
</tbody>
</table>
</div>
{{ end }}