summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-02 08:41:57 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-02 08:41:57 +0800
commit7bc45f07c3061d6dab1093edfde6e3e621e58f2f (patch)
tree85c82d0498ccb5f12179fc1160881dd2cc72cb27 /layouts
parentAdd sidebar (diff)
downloadwebsite-7bc45f07c3061d6dab1093edfde6e3e621e58f2f.tar.gz
website-7bc45f07c3061d6dab1093edfde6e3e621e58f2f.tar.zst
website-7bc45f07c3061d6dab1093edfde6e3e621e58f2f.zip
Update layouts
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/home.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html
index 8bcf1b4..480b8f5 100644
--- a/layouts/_default/home.html
+++ b/layouts/_default/home.html
@@ -1,15 +1,7 @@
{{ define "title" }}
- {{ .Site.Title }}
+ {{ .Title }}
{{ end }}
{{ define "main" }}
- <h1>{{ .Site.Title }}</h1>
+ <h1>{{ .Title }}</h1>
{{ .Content }}
- <h2>Projects</h2>
- <ul>
- {{ range .Sections }}
- <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
- {{ end }}
- </li>
- </ul>
{{ end }}
-