未完成版基础界面
This commit is contained in:
13
templates/pages/articles.html
Normal file
13
templates/pages/articles.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "articles" }}
|
||||
{{ template "base" . }}
|
||||
|
||||
{{ block "title" . }}文章列表{{ end }}
|
||||
{{ block "content" . }}
|
||||
<h2>文章列表</h2>
|
||||
<ul>
|
||||
{{ range .Articles }}
|
||||
<li>{{ .Title }} - {{ .Date }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user