mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-28 07:43:33 +02:00
Fix a reference link problem
This commit is contained in:
parent
bb3d1a1c64
commit
3eb61b595b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue