From 02b1a87d8fac3a4881968a67274fb825987bc7a0 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