Verhelpen deprecation-meldingen in Hugo 0.123

This commit is contained in:
Michael Boelen 2024-02-21 09:18:04 +00:00
parent 085dfbab62
commit d1f43e4e4d
3 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@
Onbekend
{{ end }}
</td>
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
<td>{{ .Page.Language.Lang }}</td>
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
</tr>
{{ end }}
@ -72,7 +72,7 @@
<tr>
<td><a href="{{ .RelPermalink }}">{{ .Title | default .Site.Params.textNoTitle }}</a></td>
<td><time datetime="{{ .Lastmod | dateFormat "2006-01-02T15:04:05" }}">{{ .Lastmod | dateFormat "2006-01-02 15:04:05" }}</time></td>
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
<td>{{ .Page.Language.Lang }}</td>
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
</tr>
{{ end }}

View file

@ -22,7 +22,7 @@
<td><time datetime="{{ .Lastmod | dateFormat "2006-01-02T15:04:05" }}">{{ .Lastmod | dateFormat "2006-01-02 15:04:05" }}</time></td>
<td><a href="{{ .RelPermalink }}">{{ .Title | default .Site.Params.textNoTitle }}</a></td>
{{ if hugo.IsServer }}
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
<td>{{ .Page.Language.Lang }}</td>
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
{{ end }}
</tr>

View file

@ -30,7 +30,7 @@
<td><time datetime="{{ .Lastmod | dateFormat "2006-01-02T15:04:05" }}">{{ .Lastmod | dateFormat "2006-01-02 15:04:05" }}</a></td>
<td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td>
{{ if hugo.IsServer }}
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
<td>{{ .Page.Language.Lang }}</td>
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
{{ end }}
</tr>