summaryrefslogtreecommitdiff
path: root/layouts/_default/section.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-03 18:50:55 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-03 18:50:55 +0800
commitac1a0899ae79bb4e1eb79f17af45f7f2a9f26459 (patch)
treee5eaf9189b25ec830ddc1cb8114db5c8e81a529e /layouts/_default/section.html
parentindex: Add repositories (diff)
downloadwebsite-ac1a0899ae79bb4e1eb79f17af45f7f2a9f26459.tar.gz
website-ac1a0899ae79bb4e1eb79f17af45f7f2a9f26459.tar.zst
website-ac1a0899ae79bb4e1eb79f17af45f7f2a9f26459.zip
Website update
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r--layouts/_default/section.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
new file mode 100644
index 0000000..480b8f5
--- /dev/null
+++ b/layouts/_default/section.html
@@ -0,0 +1,7 @@
+{{ define "title" }}
+ {{ .Title }}
+{{ end }}
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+{{ end }}