From ec887365cb37e0d5232003c4be8904f4de871279 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 9 Apr 2023 13:41:33 +0800 Subject: [PATCH] Remove unused shortcodes --- layouts/shortcodes/homepage/posts.html | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 layouts/shortcodes/homepage/posts.html diff --git a/layouts/shortcodes/homepage/posts.html b/layouts/shortcodes/homepage/posts.html deleted file mode 100644 index 515f3a4..0000000 --- a/layouts/shortcodes/homepage/posts.html +++ /dev/null @@ -1,10 +0,0 @@ -{{- $pages := where $.Site.RegularPages "Type" "in" $.Site.Params.mainSections }} - -{{- $limit := cond (ge $.Site.Config.Services.RSS.Limit 0) $.Site.Config.Services.RSS.Limit 3 }} -{{- range (first $limit $pages) }} -
-

{{ .Title }}

- {{ partial "partials/components/post-meta.html" . }} -
-{{- end }} -