From 35fda6718183c220023b9c15b4a4a3d7e8da36f8 Mon Sep 17 00:00:00 2001 From: Zhang Liang Date: Thu, 15 Mar 2018 15:56:57 +0800 Subject: [PATCH] Seqence file location change Now sequence will be placed in the static/seq folder. --- layouts/_default/list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8cd0a52..7669df9 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -18,8 +18,8 @@ {{ .Params.code }} {{ .Title }} - {{ if fileExists (printf "content/post/%s.json" .File) }} - {{ printf "%s.json" .File }} + {{ if fileExists (printf "static/seq/%s.json" .File) }} + {{ printf "%s.json" .File }} {{ else }} 暂无 {{ end }}