diff --git a/layouts/partials/all-posts-list.html b/layouts/partials/all-posts-list.html index 580d32f..18da19e 100644 --- a/layouts/partials/all-posts-list.html +++ b/layouts/partials/all-posts-list.html @@ -1,10 +1,11 @@ {{ $n_posts := $.Param "recent_posts_number" | default 3 }} +

Últimos posts:

-
+
{{ range (first $n_posts .Pages) }}
@@ -13,4 +14,21 @@ {{ end }}
+ +
+

+ Más posts en nuestras secciones: +

+ {{ range .Sections }} + {{ $post_count := len (.Pages) }} + {{ if ge $post_count 1 }} +

+ + {{ .Name }} + +

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