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/baseof.html | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 www/layouts/baseof.html (limited to 'www/layouts/baseof.html') diff --git a/www/layouts/baseof.html b/www/layouts/baseof.html new file mode 100644 index 0000000..6d00be5 --- /dev/null +++ b/www/layouts/baseof.html @@ -0,0 +1,49 @@ + + + + + + + + + {{ block "title" . }} + {{ .Site.Title }} + {{ end }} + {{ partial "js.html" "res/js/color-scheme.ts" }} + {{ partial "css-res.html" (partial "highlight.html" dict) }} + {{ partial "css.html" "res/css/base.css" }} + {{ block "head" . }} + {{ end }} + {{ range .Params.css }} + {{ partial "css.html" (printf "res/css/%s.css" .) }} + {{ end }} + + + {{ block "pre-article" .}} + {{ end }} +
+ {{ block "content" . }} + {{ end }} +
+ +
+ + {{ block "scripts" . }} + {{ end }} + + -- cgit v1.2.3