mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 00:19:19 +02:00
.URL has been deprecated in a recent version of Hugo
This commit is contained in:
parent
985e481c27
commit
d7e19b268c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue