summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-03 18:04:14 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-03 18:04:14 +0800
commit953f0291ee58d4fde0586571c2f6d7823cb54e15 (patch)
tree6ac89492079547cd6929985c4a8d744707ac52e1 /layouts/_default/single.html
parentLICENSE: CC0-1.0 (diff)
downloadwebsite-953f0291ee58d4fde0586571c2f6d7823cb54e15.tar.gz
website-953f0291ee58d4fde0586571c2f6d7823cb54e15.tar.zst
website-953f0291ee58d4fde0586571c2f6d7823cb54e15.zip
New site
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..ba2e421
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,7 @@
+{{ define "title" }}
+ {{ .Title }} &ndash; {{ .Site.Title }}
+{{ end }}
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+{{ end }}