aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/_partials/preview/post.html
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-14 22:49:26 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-14 22:49:26 +0800
commit1da07b0b4a337342cc48627d9af78e7fd20a45cf (patch)
tree176e21523ae40289591fd5e249ffcc0a477c7380 /www/layouts/_partials/preview/post.html
parent096f6ca0fa344363b4c76b7418a5743f9536034c (diff)
downloadcrupest-1da07b0b4a337342cc48627d9af78e7fd20a45cf.tar.gz
crupest-1da07b0b4a337342cc48627d9af78e7fd20a45cf.tar.bz2
crupest-1da07b0b4a337342cc48627d9af78e7fd20a45cf.zip
www: move layout files for new version of hugo and fix nested shortcodes.
Diffstat (limited to 'www/layouts/_partials/preview/post.html')
-rw-r--r--www/layouts/_partials/preview/post.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/layouts/_partials/preview/post.html b/www/layouts/_partials/preview/post.html
new file mode 100644
index 0000000..f0c6fb5
--- /dev/null
+++ b/www/layouts/_partials/preview/post.html
@@ -0,0 +1,7 @@
+{{ partial "preview/article.html" (dict
+ "h" .h
+ "title" .page.Title
+ "link" .page.RelPermalink
+ "content" .page.Plain
+ "date" .page.Date)
+}}