diff --git a/content/de/37c3/_index.md b/content/de/37c3/_index.md index f5025b7..624f03a 100644 --- a/content/de/37c3/_index.md +++ b/content/de/37c3/_index.md @@ -1,8 +1,7 @@ --- title: 37c3 Touren -#listsort: true weight: 10 -#tables: true +type: tours --- diff --git a/content/de/38c3/_index.md b/content/de/38c3/_index.md index d5a8d35..2aeb374 100644 --- a/content/de/38c3/_index.md +++ b/content/de/38c3/_index.md @@ -1,8 +1,7 @@ --- title: 38c3 Touren -#listsort: true weight: 10 -#tables: true +type: tours menus: main: name: Touren diff --git a/content/en/37c3/_index.md b/content/en/37c3/_index.md index 5c06d92..cec3d54 100644 --- a/content/en/37c3/_index.md +++ b/content/en/37c3/_index.md @@ -1,8 +1,7 @@ --- title: 37c3 Tours -#listsort: true weight: 10 -#tables: true +type: tours --- diff --git a/content/en/38c3/_index.md b/content/en/38c3/_index.md index 6a2e0b3..c7e793d 100644 --- a/content/en/38c3/_index.md +++ b/content/en/38c3/_index.md @@ -1,8 +1,7 @@ --- title: 38c3 Tours -#listsort: true weight: 10 -#tables: true +type: tours menus: main: name: Tours diff --git a/layouts/tours/list.html b/layouts/tours/list.html new file mode 100644 index 0000000..871cf95 --- /dev/null +++ b/layouts/tours/list.html @@ -0,0 +1,16 @@ +{{ define "main" -}} +
+
+

{{ .Title }}

+
+ +{{ .Content }} + +{{ $paginator := .Paginate (.Pages) -}} +{{ range $paginator.Pages.ByTitle -}} +{{ .Render "summary" }} +{{ end -}} + +{{ partial "pagination.html" . }} +
+{{ end -}}