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 }}