Update list template to include folder to sequence

This commit is contained in:
Zhang Liang 2018-04-08 10:41:20 +08:00
parent 37b1fa3fbc
commit bdd9b985aa

View File

@ -22,6 +22,8 @@
<a href="{{ printf "/seq/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
{{ else if fileExists (printf "static/seq/%s.csv" .File) }}
<a href="{{ printf "/seq/%s.csv" .File }}">{{ printf "%s.csv" .File }}</a>
{{ else if fileExists (printf "static/seq/%s" .File) }}
<a href="{{ printf "/seq/%s/" .File }}">{{ printf "%s" .File }}</a>
{{ else }}
暂无
{{ end }}