aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/home.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-03 20:48:53 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-03 20:48:53 +0800
commit0888f273e817c9d860d8d92dde176509637ed0b5 (patch)
treeecd20d27a489b21d5584fea2f7a7a41c3371c89f /layouts/_default/home.html
downloadwebsite-0888f273e817c9d860d8d92dde176509637ed0b5.tar.gz
website-0888f273e817c9d860d8d92dde176509637ed0b5.tar.zst
website-0888f273e817c9d860d8d92dde176509637ed0b5.zip
Initial commitHEADmaster
Diffstat (limited to 'layouts/_default/home.html')
-rw-r--r--layouts/_default/home.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html
new file mode 100644
index 0000000..8bcf1b4
--- /dev/null
+++ b/layouts/_default/home.html
@@ -0,0 +1,15 @@
+{{ define "title" }}
+ {{ .Site.Title }}
+{{ end }}
+{{ define "main" }}
+ <h1>{{ .Site.Title }}</h1>
+ {{ .Content }}
+ <h2>Projects</h2>
+ <ul>
+ {{ range .Sections }}
+ <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+ {{ end }}
+ </li>
+ </ul>
+{{ end }}
+