diff options
author | Yihui Xie | 2019-04-18 13:44:29 -0500 |
---|---|---|
committer | Yihui Xie | 2019-04-18 13:44:29 -0500 |
commit | d7e19b268c311759dc7edae9916774521ef1b2f8 (patch) | |
tree | e1ec487c874a9bd4a7b12f3eb03872b76b9806d8 /layouts | |
parent | 985e481c2790ecd96f0f6dab9a6ebe7f16e141d8 (diff) | |
download | hugo-xmin-d7e19b268c311759dc7edae9916774521ef1b2f8.tar.lz hugo-xmin-d7e19b268c311759dc7edae9916774521ef1b2f8.tar.zst hugo-xmin-d7e19b268c311759dc7edae9916774521ef1b2f8.zip |
.URL has been deprecated in a recent version of Hugo
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 70ab4e8..f8a1e05 100644 --- 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> |