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>
|
2018-04-10 06:32:18 +03:00
|
|
|
<th>序列</th>
|
2018-03-05 04:31:57 +02:00
|
|
|
<th>创建日期</th>
|
2018-04-25 12:32:43 +03:00
|
|
|
<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) }}
|
2018-04-10 06:32:18 +03:00
|
|
|
<a href="{{ printf "/seq/%s.json" .File }}" target="_blank">{{ printf "%s.json" .File }}</a>
|
2018-04-02 11:52:51 +03:00
|
|
|
{{ else if fileExists (printf "static/seq/%s.csv" .File) }}
|
2018-04-10 06:32:18 +03:00
|
|
|
<a href="{{ printf "/seq/%s.csv" .File }}" target="_blank">{{ printf "%s.csv" .File }}</a>
|
2018-04-08 05:41:20 +03:00
|
|
|
{{ else if fileExists (printf "static/seq/%s" .File) }}
|
2018-04-10 06:32:18 +03:00
|
|
|
<a href="{{ printf "/seq/%s/sequence.json" .File }}" target="_blank">{{ printf "%s.json" .File }}</a>
|
2018-03-04 13:44:52 +02:00
|
|
|
{{ else }}
|
|
|
|
暂无
|
|
|
|
{{ end }}
|
|
|
|
</td>
|
|
|
|
<td>{{ .Date.Format "2006/01/02" }}</td>
|
2018-04-25 12:32:43 +03:00
|
|
|
<td>{{ .Lastmod.Format "2006/01/02" }}</td>
|
2018-03-04 13:44:52 +02:00
|
|
|
</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" . }}
|