2017-06-16 07:06:16 +03:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
|
|
|
|
{{if not .IsHome }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ .Content }}
|
|
|
|
|
2018-03-04 13:44:52 +02:00
|
|
|
<table class="sortable">
|
|
|
|
<tr>
|
2018-03-05 04:31:57 +02:00
|
|
|
<th>ID</th>
|
|
|
|
<th>名称</th>
|
|
|
|
<th>序列</th>
|
|
|
|
<th>创建日期</th>
|
2018-03-04 13:44:52 +02:00
|
|
|
</tr>
|
2017-06-16 07:06:16 +03:00
|
|
|
{{ range (where .Data.Pages "Section" "!=" "") }}
|
2018-03-04 13:44:52 +02:00
|
|
|
<tr>
|
|
|
|
<td>{{ .Params.code }}</td>
|
|
|
|
<td><a href="{{ .URL }}">{{ .Title }}</a></td>
|
|
|
|
<td>
|
2018-03-15 09:56:57 +02:00
|
|
|
{{ if fileExists (printf "static/seq/%s.json" .File) }}
|
|
|
|
<a href="{{ printf "/seq/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
|
2018-03-04 13:44:52 +02:00
|
|
|
{{ else }}
|
|
|
|
暂无
|
|
|
|
{{ end }}
|
|
|
|
</td>
|
|
|
|
<td>{{ .Date.Format "2006/01/02" }}</td>
|
|
|
|
</tr>
|
2017-06-16 07:06:16 +03:00
|
|
|
{{ end }}
|
2018-03-04 13:44:52 +02:00
|
|
|
</table>
|
2017-06-16 07:06:16 +03:00
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|