基本样式测试

This commit is contained in:
2025-11-23 21:48:11 +08:00
parent 86b28ed215
commit a469da2904
8 changed files with 126 additions and 90 deletions

View File

@@ -0,0 +1,9 @@
{{ define "pages/index.html" }}
{{ template "layout/base.html" . }}
{{ block "title" . }}首页{{ end }}
{{ block "content" . }}
<h1>欢迎来到我的 Gin 网站</h1>
<p>这里是首页内容,可以展示最新文章或公告。</p>
{{ end }}
{{ end }}