]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/commitdiff
Fix .Site.Author deprecation warning
authorDuje Mihanović <duje.mihanovic@skole.hr>
Mon, 12 Aug 2024 09:59:01 +0000 (11:59 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Mon, 12 Aug 2024 09:59:01 +0000 (11:59 +0200)
layouts/rss.xml

index b43900f23bb8dbc8fdc8ce907ab0b647b8efff04..4c0def89f26714b3a59acb80fb66eebaa4816b0a 100644 (file)
@@ -12,8 +12,8 @@
        <link href="{{ .Permalink }}"/>
        <link rel="self" href="{{ (.OutputFormats.Get "RSS").Permalink }}"/>
        <author>
-               <name>{{ $.Site.Author.name }}</name>
-               <email>{{ $.Site.Author.email }}</email>
+               <name>Duje Mihanović</name>
+               <email>duje.mihanovic@skole.hr</email>
                <uri>{{ .Permalink }}</uri>
        </author>
        <generator uri="https://gohugo.io/">Hugo</generator>