This commit is contained in:
2023-03-10 14:51:34 +08:00
parent f8c1d183e4
commit 7a9c671044
6 changed files with 6 additions and 7 deletions
+14
View File
@@ -0,0 +1,14 @@
{{define "index.html"}}
{{template "base.html" .}}
{{end}}
{{define "body"}}
<div>总数: {{ .total }}</div>
<ul>
{{range .list}}
<li>
<a href=" /article/{{.Id }}"> {{.Conf.Title}}</a>
</li>
{{end}}
</ul>
{{end}}