.URL has been deprecated in a recent version of Hugo

This commit is contained in:
Yihui Xie 2019-04-18 13:44:29 -05:00
parent 985e481c27
commit d7e19b268c

View File

@ -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>