From 1da07b0b4a337342cc48627d9af78e7fd20a45cf Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 14 Jun 2025 22:49:26 +0800 Subject: www: move layout files for new version of hugo and fix nested shortcodes. --- www/layouts/_partials/preview/posts.html | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 www/layouts/_partials/preview/posts.html (limited to 'www/layouts/_partials/preview/posts.html') diff --git a/www/layouts/_partials/preview/posts.html b/www/layouts/_partials/preview/posts.html new file mode 100644 index 0000000..f2cb640 --- /dev/null +++ b/www/layouts/_partials/preview/posts.html @@ -0,0 +1,7 @@ +{{ $h := .h }} +{{ range .pages }} + {{ partial "preview/post.html" (dict + "h" $h + "page" .) + }} +{{ end }} \ No newline at end of file -- cgit v1.2.3