From 86e8ebac083565048a4392e435a40e2bf02b2baa Mon Sep 17 00:00:00 2001 From: DrNykterstein Date: Wed, 12 Nov 2025 20:34:48 +0530 Subject: [PATCH] www-site: Replace JS date formatting with Pelican + fix hero HTML bugs --- content/index.ezmd | 65 ++++++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 31 deletions(-) diff --git a/content/index.ezmd b/content/index.ezmd index 48d6b9931..73bc4d2ae 100644 --- a/content/index.ezmd +++ b/content/index.ezmd @@ -10,8 +10,8 @@ bodytag: id="home"

See Projects

-
- Logo +
+ Logo
Logo @@ -34,7 +34,7 @@ bodytag: id="home"
Logo
- +
-

ASF Plus One

Explore what’s new at The ASF — from project news to community voices, all in one place.

+

Most Recent Blog Posts

- [for foundation]
+ {% for foundation in foundation|slice:":3" %} +
- asf oak leaf logo -
-

[format "raw"][foundation.title][end]

+ asf oak leaf logo +
+ {{ foundation.date|strftime('%d %B %Y') }} +
+

{{ foundation.title|striptags }}

-
[end] +
+ {% endfor %}
+

Plus One Newsletter

- [for newsletter]
+ {% for newsletter in newsletter|slice:":3" %} +
asf oak leaf logo -
-

[format "raw"][newsletter.title][end]

+
+ {{ newsletter.date|strftime('%d %B %Y') }} +
+

{{ newsletter.title|striptags }}

-
[end] +
+ {% endfor %}
+

Plus One Podcast

- [for podcast]
+ {% for podcast in podcast|slice:":3" %} +
asf oak leaf logo -
-

[format "raw"][podcast.title][end]

+
+ {{ podcast.date|strftime('%d %B %Y') }} +
+

{{ podcast.title|striptags }}

-
[end] +
+ {% endfor %}