summaryrefslogtreecommitdiff
path: root/layouts/home.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2026-01-26 22:05:13 +0800
committerEltrac <hi@guhub.cn>2026-01-26 22:05:13 +0800
commit417fe8594465ed4409762ef82806ec8a494eff00 (patch)
tree26e767690e8b2635d8f76fe30db83e04c3c94010 /layouts/home.html
initial commit
Diffstat (limited to 'layouts/home.html')
-rw-r--r--layouts/home.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/home.html b/layouts/home.html
new file mode 100644
index 0000000..91eb159
--- /dev/null
+++ b/layouts/home.html
@@ -0,0 +1,18 @@
+{{ define "main" }}
+ {{ .Content }}
+
+ <h2>Notes</h2>
+ <section>
+ <h3><a href="/notes/silver-skins/">银皮(Silver Skin)</a></h3>
+ <p><small>2026-01-26</small></p>
+ <p>test</p>
+ </section>
+
+ <section>
+ <h3><a href="/notes/test-note/">测试笔记</a></h3>
+ <p><small>2026-01-26</small></p>
+ <p>这是一个测试笔记。</p>
+ </section>
+
+ <p><a href="/notes/">查看所有笔记 →</a></p>
+{{ end }} \ No newline at end of file