]> git.ralfj.de Git - web.git/commitdiff
use the most recent post as the 'updated' time for the feed
authorRalf Jung <post@ralfj.de>
Fri, 21 Mar 2025 08:48:09 +0000 (09:48 +0100)
committerRalf Jung <post@ralfj.de>
Fri, 21 Mar 2025 08:48:09 +0000 (09:48 +0100)
personal/_layouts/feed.html

index a700828a6ee86caadd2ec34001418f2ce2b23bb7..e8c202e2221fed2303465b1882d156cf279166fa 100644 (file)
@@ -7,7 +7,7 @@
     {% else %}
         <link href="{{ "/blog/" | prepend: site.baseurl | prepend: site.url }}"/>
     {% endif %}
     {% else %}
         <link href="{{ "/blog/" | prepend: site.baseurl | prepend: site.url }}"/>
     {% endif %}
-    <updated>{{ site.time | date_to_xmlschema }}</updated>
+    <updated>{{ site.posts[0].date | date_to_xmlschema }}</updated>
     <author>
         <name>Ralf Jung</name>
     </author>
     <author>
         <name>Ralf Jung</name>
     </author>