projects
/
brevno-suite
/
themes
/
xmin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
985e481
)
.URL has been deprecated in a recent version of Hugo
author
Yihui Xie
<xie@yihui.name>
Thu, 18 Apr 2019 18:44:29 +0000
(13:44 -0500)
committer
Yihui Xie
<xie@yihui.name>
Thu, 18 Apr 2019 18:44:29 +0000
(13:44 -0500)
layouts/_default/list.html
patch
|
blob
|
history
diff --git
a/layouts/_default/list.html
b/layouts/_default/list.html
index 70ab4e871c86bb70edcc8f928662f84b3add3a21..f8a1e053e2152bf860989efdcdcd95527d01254f 100644
(file)
--- a/
layouts/_default/list.html
+++ b/
layouts/_default/list.html
@@
-10,7
+10,7
@@
{{ range (where .Data.Pages "Section" "!=" "") }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
- <a href="{{ .
URL
}}">{{ .Title | markdownify }}</a>
+ <a href="{{ .
RelPermalink
}}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>