mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-23 00:49: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>
|
||||
{{ 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 }}
|
||||
暂无
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue