about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authorYihui Xie2019-04-18 13:44:29 -0500
committerYihui Xie2019-04-18 13:44:29 -0500
commitd7e19b268c311759dc7edae9916774521ef1b2f8 (patch)
treee1ec487c874a9bd4a7b12f3eb03872b76b9806d8 /layouts
parent985e481c2790ecd96f0f6dab9a6ebe7f16e141d8 (diff)
downloadhugo-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.html2
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>