This is an automated email from the ASF dual-hosted git repository.
kaxilnaik 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 3c89f6f1ae Fix webpack script loading on homepage
3c89f6f1ae is described below
commit 3c89f6f1aedb51d836463e3496c580f92c2b8887
Author: Kaxil Naik <[email protected]>
AuthorDate: Tue Dec 16 22:19:55 2025 +0000
Fix webpack script loading on homepage
So confetti works again
---
landing-pages/site/layouts/_default/baseof.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/landing-pages/site/layouts/_default/baseof.html
b/landing-pages/site/layouts/_default/baseof.html
index 0ab0ab5673..e5a63fcce5 100644
--- a/landing-pages/site/layouts/_default/baseof.html
+++ b/landing-pages/site/layouts/_default/baseof.html
@@ -44,6 +44,9 @@
</div>
{{ partialCached "footer.html" . }}
{{ partial "scripts.html" . }}
-{{ partial "hooks/body-end.html" . }}
+{{/* Load webpack bundle on homepage (confetti, etc.) */}}
+{{ with .Site.Data.webpack }}
+ <script src="{{ relURL .main.js }}"></script>
+{{ end }}
</body>
</html>