From 046c71c4c282b7c9dce781c8a1f31c68a1515854 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 24 Feb 2025 02:18:20 +0800 Subject: feat(www): YEAH! --- www/layouts/_default/single.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 www/layouts/_default/single.html (limited to 'www/layouts/_default/single.html') diff --git a/www/layouts/_default/single.html b/www/layouts/_default/single.html new file mode 100644 index 0000000..83297cf --- /dev/null +++ b/www/layouts/_default/single.html @@ -0,0 +1,17 @@ +{{ define "head"}} + {{ partial "css.html" "single.css" }} +{{ end }} + +{{ define "title" }} + {{ .Title }} +{{ end }} + +{{ define "content" }} + {{ partial "nav.html" . }} +

{{ .Title }}

+
+

{{ partial "date.html" .Date }} Last updated: {{ partial "date.html" .Lastmod }}

+ {{ .Content }} +
+ {{ partial "nav.html" . }} +{{ end }} -- cgit v1.2.3