From 6e2cfec16aa1481ac73317f6b7b29d7733a1a42d Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 15 Jun 2025 18:37:14 +0800 Subject: www: update article preview sep. --- www/layouts/_partials/preview/posts.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'www/layouts') diff --git a/www/layouts/_partials/preview/posts.html b/www/layouts/_partials/preview/posts.html index f2cb640..291c4b2 100644 --- a/www/layouts/_partials/preview/posts.html +++ b/www/layouts/_partials/preview/posts.html @@ -1,5 +1,11 @@ {{ $h := .h }} +{{ $is_first := true}} {{ range .pages }} + {{ if $is_first }} + {{ $is_first = false }} + {{ else }} +
+ {{ end }} {{ partial "preview/post.html" (dict "h" $h "page" .) -- cgit v1.2.3