From 820a5d55f8c30531c1244521f3bf2f42e8073b63 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Sun, 24 Mar 2024 23:58:28 +0100 Subject: [PATCH] feat: put archives search form under categories list --- layouts/_default/archives.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index 9501283..71ce866 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -5,19 +5,6 @@ {{- end -}} {{ end }} {{ define "main" }} -
-

- - -

- - -
- -

- {{- $taxonomy := $.Site.GetPage "taxonomyTerm" "categories" -}} {{- $terms := $taxonomy.Pages -}} {{ if $terms }} @@ -33,6 +20,19 @@ {{ end }} +
+

+ + +

+ + +
+ +

+ {{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ range $pages.GroupByDate "2006" }}