.Site.IsServer zal deprecated zijn in toekomst, alvast vervangen

This commit is contained in:
Michael Boelen 2024-02-08 09:35:59 +00:00
parent 9b15c91e4a
commit ab14e66b34
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@
<tr>
<th>Datum</th>
<th>Titel</th>
{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
<th>Taal</th>
<th>Bestandsnaam</th>
{{ end }}
@ -21,7 +21,7 @@
<tr>
<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 .Site.IsServer }}
{{ if hugo.IsServer }}
<td>{{ with .File }}{{ .Lang }}{{ end }}</td>
<td>{{ with .File }}{{ .Path }}{{ end }}</td>
{{ end }}