From 79712df303a3913a9376379bdc3f57c088a431ab Mon Sep 17 00:00:00 2001 From: KitsuneSolar Date: Sat, 4 Nov 2023 13:50:58 +0000 Subject: [PATCH] 2023-11-04 13:50:58 --- layouts/drafts/list.html | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/layouts/drafts/list.html b/layouts/drafts/list.html index 390ded1..5b269e2 100644 --- a/layouts/drafts/list.html +++ b/layouts/drafts/list.html @@ -4,18 +4,17 @@
{{ range (.Paginator.Pages) }} - {{ $type := ((.Type) | singularize) }} -
-
- {{ (.Render "view/02") }} -
-
- {{ (.Render "view/01") }} -
- {{ if (in ($type) "faq") }} - {{ (partial (printf "module/node/modal/%s" ($type)) .) }} - {{ end }} +
+
+ {{ (.Render "view/02") }}
+
+ {{ (.Render "view/01") }} +
+ {{ if (in ((.Type) | singularize) "faq") }} + {{ (partial (printf "module/node/modal/%s" ((.Type) | singularize)) .) }} + {{ end }} +
{{ end }}