mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-23 08:59:19 +02:00
Fix a reference link problem
This commit is contained in:
parent
bb3d1a1c64
commit
3eb61b595b
|
@ -20,7 +20,7 @@
|
||||||
<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 "content/post/%s.json" .File) }}
|
||||||
<a href="{{ printf "post/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
|
<a href="{{ printf "/post/%s.json" .File }}">{{ printf "%s.json" .File }}</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
暂无
|
暂无
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue