Verhelpen deprecations Hugo 0.123

This commit is contained in:
Michael Boelen 2024-02-21 09:08:50 +00:00
parent 7ecaf9a6e9
commit 085dfbab62
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
<link>{{ absURL "" }}</link> <link>{{ absURL "" }}</link>
<language>{{ $language | default "en" }}</language> <language>{{ $language | default "en" }}</language>
<copyright>Copyright {{ now.Format "2006"}}, {{ $author }}</copyright> <copyright>Copyright {{ now.Format "2006"}}, {{ $author }}</copyright>
<lastBuildDate>{{ .Site.LastChange.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate> <lastBuildDate>{{ .Site.Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
{{ with .Site.Params.webmaster }} {{ with .Site.Params.webmaster }}
<webMaster>{{ . }}</webMaster> <webMaster>{{ . }}</webMaster>
{{ end }} {{ end }}
@ -22,7 +22,7 @@
{{- $author := index .Site.Data.authors .Params.author -}} {{- $author := index .Site.Data.authors .Params.author -}}
<author>{{ $author.email }} ({{ $author.name }})</author> <author>{{ $author.email }} ({{ $author.name }})</author>
{{- else -}} {{- else -}}
<author>website@nluug.nl (NLUUG)</author> <author>website@nluug.nl (NLUUG webmasters)</author>
{{- end -}} {{- end -}}
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>

View file

@ -53,7 +53,7 @@
Laatste wijziging op de website (Git) Laatste wijziging op de website (Git)
</td> </td>
<td headers="website-content value"> <td headers="website-content value">
{{ .Site.LastChange }} {{ .Site.Lastmod }}
</td> </td>
</tr> </tr>
<tr> <tr>