From bdd9b985aa34708d4ad2f0ffd7aec9b224c085fa Mon Sep 17 00:00:00 2001 From: Zhang Liang Date: Sun, 8 Apr 2018 10:41:20 +0800 Subject: [PATCH] Update list template to include folder to sequence --- layouts/_default/list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index c19093f..9630c4d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -22,6 +22,8 @@ {{ printf "%s.json" .File }} {{ else if fileExists (printf "static/seq/%s.csv" .File) }} {{ printf "%s.csv" .File }} + {{ else if fileExists (printf "static/seq/%s" .File) }} + {{ printf "%s" .File }} {{ else }} 暂无 {{ end }}