mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-25 14:43:32 +02:00
.URL has been deprecated in a recent version of Hugo
This commit is contained in:
parent
985e481c27
commit
d7e19b268c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue