Seqence file location change

Now sequence will be placed in the static/seq folder.
This commit is contained in:
Zhang Liang 2018-03-15 15:56:57 +08:00
parent 185c673b80
commit 35fda67181

View File

@ -18,8 +18,8 @@
<td>{{ .Params.code }}</td>
<td><a href="{{ .URL }}">{{ .Title }}</a></td>
<td>
{{ if fileExists (printf "content/post/%s.json" .File) }}
<a href="{{ printf "/post/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
{{ if fileExists (printf "static/seq/%s.json" .File) }}
<a href="{{ printf "/seq/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
{{ else }}
暂无
{{ end }}