From bb54be4a4c775bd541dd8d9877c2112c130b3ef0 Mon Sep 17 00:00:00 2001 From: Zhang Liang Date: Tue, 10 Apr 2018 11:32:18 +0800 Subject: [PATCH] Change back to display sequence only --- layouts/_default/list.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9630c4d..7e8a75d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,7 +10,7 @@ ID 名称 - 序列或题库 + 序列 创建日期 {{ range (where .Data.Pages "Section" "!=" "") }} @@ -19,11 +19,11 @@ {{ .Title }} {{ if fileExists (printf "static/seq/%s.json" .File) }} - {{ printf "%s.json" .File }} + {{ printf "%s.json" .File }} {{ else if fileExists (printf "static/seq/%s.csv" .File) }} - {{ printf "%s.csv" .File }} + {{ printf "%s.csv" .File }} {{ else if fileExists (printf "static/seq/%s" .File) }} - {{ printf "%s" .File }} + {{ printf "%s.json" .File }} {{ else }} 暂无 {{ end }}