mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-28 07:43:33 +02:00
Update list template to include folder to sequence
This commit is contained in:
parent
37b1fa3fbc
commit
bdd9b985aa
1 changed files with 2 additions and 0 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue