{{ .Title }}
+ +
- {{- if (not site.Params.disableThemeToggle) }}
-
- {{- end }}
+
Achille Toupin
+ + + + + - {{ .Content }} - + + + +
+
+
+
+ {{ partial "buttons.html"}}
+
+ {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
+
+ {{ .Content }}
+
+
+
+
+
+
+
+
+
+ Mon dernier article
+ {{ partial "posts-recents-carte.html" . }} +
+
+ Mon dernier article
+ {{ partial "posts-recents-carte.html" . }} +
{{ partial "posts-defile.html" (dict "context" . "direction" "down") }}
diff --git a/layouts/partials/posts-recents-carte.html b/layouts/partials/posts-recents-carte.html
new file mode 100644
index 0000000..8008960
--- /dev/null
+++ b/layouts/partials/posts-recents-carte.html
@@ -0,0 +1,19 @@
+{{ $n := 1 }}
+{{ range first $n (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
+
+ {{- $image := .Resources.GetMatch (printf "%s" .Params.cover.image) -}}
+ {{- if $image -}}
+
+ {{- $optimizedImage := $image.Fill "100x100 webp q95 Center" -}}
+
+
+ {{ .Date.Format "January 2, 2006" }}
+
{{ .Title }}
+{{ .Summary | truncate 100 }}
+ + + {{ end }} + + +{{ end }} +