Toevoegen van pagina met laatste wijzigingen
This commit is contained in:
parent
41576563e1
commit
cbe21727ac
2 changed files with 33 additions and 0 deletions
18
themes/nluug/layouts/custom/latest-changes.html
Normal file
18
themes/nluug/layouts/custom/latest-changes.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{ define "main" }}
|
||||
|
||||
<h2>Laatste wijzigingen</h2>
|
||||
{{ $byLastMod := .Site.RegularPages.ByLastmod.Reverse }}
|
||||
|
||||
<table>
|
||||
{{ range $byLastMod }}
|
||||
<tr>
|
||||
<td>{{ .Lastmod }}</td>
|
||||
<td>{{ .Title }}</td>
|
||||
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
|
||||
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
||||
|
||||
<div>{{ .Content }}</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue