This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 82776af196 Improve Atom feed metadata and ordering for blog (#1391)
82776af196 is described below

commit 82776af196de0c8fd343fba7db49058de0e16b27
Author: ALOK KUMAR <[email protected]>
AuthorDate: Wed Jan 21 01:29:09 2026 +0530

    Improve Atom feed metadata and ordering for blog (#1391)
    
    * Improve Atom feed metadata and ordering for blog
    
    * Fix blog Atom feed updated timestamp handling
---
 landing-pages/site/layouts/blog/list.xml | 43 ++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/landing-pages/site/layouts/blog/list.xml 
b/landing-pages/site/layouts/blog/list.xml
new file mode 100644
index 0000000000..2675e0d79e
--- /dev/null
+++ b/landing-pages/site/layouts/blog/list.xml
@@ -0,0 +1,43 @@
+{{/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*/}}
+
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom";>
+  <title>{{ .Site.Title }} Blog</title>
+  <link href="{{ .Permalink }}" rel="alternate"/>
+<link href="{{ .Permalink }}index.xml" rel="self" type="application/atom+xml"/>
+<id>{{ .Permalink }}</id>
+{{ $pages := sort .Pages "Lastmod" "desc" }}
+{{ with index $pages 0 }}
+  <updated>{{ .Lastmod.Format "2006-01-02T15:04:05Z" }}</updated>
+{{ end }}
+{{ range sort .Pages "Lastmod" "desc" }}
+  <entry>
+    <title>{{ .Title }}</title>
+    <link href="{{ .Permalink }}" rel="alternate"/>
+    <id>{{ .Permalink }}</id>
+    <published>{{ .PublishDate.Format "2006-01-02T15:04:05Z" }}</published>
+    <updated>{{ .Lastmod.Format "2006-01-02T15:04:05Z" }}</updated>
+    <author>
+      <name>Apache Airflow</name>
+    </author>
+    <content type="html"><![CDATA[{{ .Content }}]]></content>
+  </entry>
+  {{ end }}
+</feed>

Reply via email to