From 39cadd7479adc54a9840af20eb58de5217738867 Mon Sep 17 00:00:00 2001 From: Eduardo Figueroa Date: Wed, 4 Mar 2026 16:17:57 -0800 Subject: [PATCH] show recents --- .../_partials/docs/inject/content-after.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 layouts/_partials/docs/inject/content-after.html diff --git a/layouts/_partials/docs/inject/content-after.html b/layouts/_partials/docs/inject/content-after.html new file mode 100644 index 0000000..0be7afd --- /dev/null +++ b/layouts/_partials/docs/inject/content-after.html @@ -0,0 +1,18 @@ +{{ if .IsHome }} + {{ $posts := where site.RegularPages "Section" "docs" }} + {{ $posts = where $posts "Params.bookHidden" "ne" true }} + {{ $posts = $posts.ByDate.Reverse }} + {{ if $posts }} +
+

Recent Posts

+ +
+ {{ end }} +{{ end }}