This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/staging by this push:
new d073f07adc Debug: Add HTML comments to trace webpack data availability
d073f07adc is described below
commit d073f07adc58e9ff3b2e1b38432461f313fbb0f3
Author: Kaxil Naik <[email protected]>
AuthorDate: Tue Dec 16 21:33:13 2025 +0000
Debug: Add HTML comments to trace webpack data availability
---
landing-pages/site/layouts/baseof.html | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/landing-pages/site/layouts/baseof.html
b/landing-pages/site/layouts/baseof.html
index 0b2cf74588..a037b9f3f6 100644
--- a/landing-pages/site/layouts/baseof.html
+++ b/landing-pages/site/layouts/baseof.html
@@ -37,8 +37,18 @@
</div>
{{ partialCached "scripts.html" . }}
</body>
+ <!-- DEBUG: webpack data: {{ .Site.Data.webpack }} -->
{{ $script := .Site.Data.webpack.main }}
{{ with $script.js }}
<script src="{{ relURL . }}"></script>
+ {{ else }}
+ <!-- DEBUG: No webpack main script found -->
+ {{ end }}
+ {{ with .Site.Data.webpack }}
+ {{ with .main.js }}
+ <script src="{{ relURL . }}"></script>
+ {{ end }}
+ {{ else }}
+ <!-- DEBUG: No webpack data at all -->
{{ end }}
</html>