{{ .Title }}
+{{ .Title }}
- {{ with .Date }} -+ {{ with .Date }} + Publié le , + {{ end }} + {{ with .Lastmod }} + Mis à jour le + {{ end }} +
{{ if .Params.featured_image }} diff --git a/layouts/actualites/list.html b/layouts/actualites/list.html index 6d175ae..fe31d12 100644 --- a/layouts/actualites/list.html +++ b/layouts/actualites/list.html @@ -1,53 +1,48 @@ {{ define "main" }} -{{ . }}
{{ end }} - {{ with .Content }}{{ .Title }}
+ {{ with .Content }} +-
- {{ range .Paginator.Pages }}
-
-
-
- {{ $featuredImage := (resources.Get (printf "%s" ("cover/cover.jpg" | safeURL))) }}
-
+ + {{ range .Paginator.Pages }} ++{{ partial "pagination.html" . }} {{ end }} + diff --git a/layouts/actualites/single.html b/layouts/actualites/single.html deleted file mode 100644 index 11454c0..0000000 --- a/layouts/actualites/single.html +++ /dev/null @@ -1,36 +0,0 @@ -{{ define "main" }} -+ + {{ $featuredImage := (resources.Get (printf "%s" ("images/cycle_path_sun.jpg" | safeURL))) }} {{ if .Params.featured_image }} {{ $featuredImage = .Resources.GetMatch (.Params.featured_image.src | safeURL) }} {{ end }} - {{ $featuredImage := $featuredImage.Resize "450x" }} - + {{ $featuredImage := $featuredImage.Process "fill 500x350" }} + -+ {{ end }} +-+
- - {{.Title }} - -
-+
+- - {{ end }} - +++ {{ .Title }} +
++ {{ .Summary }} +
++ {{ $date := .Date.Format "2006-01-02" }} +
-- {{ .Summary }}... -++ Lire plus +
+- -{{ end }} diff --git a/layouts/association/list.html b/layouts/association/list.html index 68cd03d..111a1f6 100644 --- a/layouts/association/list.html +++ b/layouts/association/list.html @@ -1,33 +1,9 @@ {{ define "main" }} -- -{{ .Title }}
- - {{ if .Date }} -- Publié le - {{ $date := .Date.Format "2006-01-02" }} - -- {{ end }} - - - {{ if .Params.featured_image }} - {{ $featuredImage := .Resources.GetMatch (.Params.featured_image.src | safeURL) }} - {{ if $featuredImage }} - {{ $featuredImage = $featuredImage.Resize "600x" }} - - {{ end }} - {{ end }} - - {{ range .Params.tags }} - {{ . }} - {{ end }} -- {{ .Content }} ---- -- --- {{ $listtitle := .Title }} - - {{ with .Title }} {{ . }}
{{ end }} - - - {{ if .Content }} -- {{ with .Content }}- {{ end }} +{{ . }}{{ end }} -+ {{ end }} diff --git a/layouts/index.html b/layouts/index.html index f596544..1ca6da2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,6 @@ {{ define "main" }} -{{ .Title }}
+ {{ with .Content }} +{{ . }}+ {{ end }}-Vélo et mobilités en Eure-Madrie-Seine
++{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 46b6c5d..a2d4d69 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,2 +1,50 @@ - + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d1e4a92..d26eb31 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,7 +10,7 @@ {{- $title := partialCached "data/title" . .RelPermalink -}} -{{ .Title }}
{{ $image := resources.Get "images/logos/logo.png" }} @@ -10,7 +10,9 @@ />+{{ .Content }} +{{ $title }} {{ if not .IsHome }}- L'Étoile de Bethléem{{ end }} +{{ $title }} {{ if not .IsHome }}- VMEMS{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 15b3a26..aee91bf 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,2 +1,26 @@ -- + + + diff --git a/layouts/projets/list.html b/layouts/projets/list.html new file mode 100644 index 0000000..869b34e --- /dev/null +++ b/layouts/projets/list.html @@ -0,0 +1,38 @@ +{{ define "main" }} ++ +{{ end }} + diff --git a/layouts/signalements/list.html b/layouts/signalements/list.html new file mode 100644 index 0000000..fd394b5 --- /dev/null +++ b/layouts/signalements/list.html @@ -0,0 +1,17 @@ +{{ define "main" }} +{{ .Title }}
+ {{ with .Content }} +{{ . }}+ {{ end }} + ++ {{ range .Paginator.Pages }} + + {{ end }} ++ {{ partial "pagination.html" . }} ++ +{{ end }} +{{ .Title }}
+ {{ with .Content }} +{{ . }}+ {{ end }} + + +