diff --git a/content/website/sitemap/index.rst b/content/website/sitemap/index.rst new file mode 100644 index 0000000..07531a1 --- /dev/null +++ b/content/website/sitemap/index.rst @@ -0,0 +1,12 @@ +--- +categories: +- website +date: 2023-05-15T13:46:48+02:00 +description: "Dit is de browser-vriendelijke sitemap van de NLUUG-website, de vereniging voor open standaarden" +tags: +- website +slug: +title: "Sitemap" +type: custom +layout: sitemap +--- diff --git a/themes/nluug/layouts/custom/sitemap.html b/themes/nluug/layouts/custom/sitemap.html new file mode 100644 index 0000000..b07d05d --- /dev/null +++ b/themes/nluug/layouts/custom/sitemap.html @@ -0,0 +1,48 @@ +{{ define "main" }} + +
{{ .Content }}
+ +

Secties

+{{ $sections := (where $.Site.Pages ".Kind" "section").ByTitle }} + + +{{ range $sections }} +

{{ .Title | default .Site.Params.textNoTitle }}

+ {{ $sectionName := .Section | singularize }} + {{ $pages := (where $.Site.RegularPages ".Section" $sectionName) }} + +{{ end }} + +

Laatste wijzigingen

+ {{ $byLastMod := .Site.RegularPages.ByLastmod.Reverse }} +
+ + + + + + {{ if .Site.IsServer }} + + + {{ end }} + + + + {{ range first 50 $byLastMod }} + + + + {{ if .Site.IsServer }} + + + {{ end }} + + {{ end }} + +
DatumTitelTaalBestandsnaam
{{ .Lastmod | dateFormat "2006-01-02 15:04:05" }}{{ .Title }}{{ with .File }}{{ .Lang }}{{ end }}{{ with .File }}{{ .Path }}{{ end }}
+
+{{ end }}