mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-23 08:59:19 +02:00
Update list template to include folder to sequence
This commit is contained in:
parent
37b1fa3fbc
commit
bdd9b985aa
|
@ -22,6 +22,8 @@
|
||||||
<a href="{{ printf "/seq/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
|
<a href="{{ printf "/seq/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
|
||||||
{{ else if fileExists (printf "static/seq/%s.csv" .File) }}
|
{{ else if fileExists (printf "static/seq/%s.csv" .File) }}
|
||||||
<a href="{{ printf "/seq/%s.csv" .File }}">{{ printf "%s.csv" .File }}</a>
|
<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 }}
|
{{ else }}
|
||||||
暂无
|
暂无
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue