mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-10-23 04:29:20 +03:00
Seqence file location change
Now sequence will be placed in the static/seq folder.
This commit is contained in:
parent
185c673b80
commit
35fda67181
|
@ -18,8 +18,8 @@
|
||||||
<td>{{ .Params.code }}</td>
|
<td>{{ .Params.code }}</td>
|
||||||
<td><a href="{{ .URL }}">{{ .Title }}</a></td>
|
<td><a href="{{ .URL }}">{{ .Title }}</a></td>
|
||||||
<td>
|
<td>
|
||||||
{{ if fileExists (printf "content/post/%s.json" .File) }}
|
{{ if fileExists (printf "static/seq/%s.json" .File) }}
|
||||||
<a href="{{ printf "/post/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
|
<a href="{{ printf "/seq/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
暂无
|
暂无
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue