mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-10-22 20:19: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><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 }}
|
||||
|
|
Loading…
Reference in New Issue