summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authoryingyu5658 <i@yingyu5658.me>2026-01-13 22:33:08 +0800
committeryingyu5658 <i@yingyu5658.me>2026-01-13 22:33:08 +0800
commit4c40685be4a919f4483febc6fc9249fa59651fae (patch)
tree29f0c9b66f5d90a5d808b84355148f6577c6d54e /layouts/index.html
parent16e2a3fd905c5ffb5e0a90c1a4805559d372b389 (diff)
downloadblog-4c40685be4a919f4483febc6fc9249fa59651fae.tar.gz
blog-4c40685be4a919f4483febc6fc9249fa59651fae.zip
style: show the summary of every post on recent-posts
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index d975ecb..2c47df5 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1 +1,3 @@
-{{ define "main" }} {{ .Content }} {{ end }}
+{{ define "main" }}
+<header>{{- partial "header.html" . -}}</header>
+{{ .Content }} {{ end }}