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.git
The following commit(s) were added to refs/heads/main by this push:
new 6be209eae78 Fix 299 blank lines in registry homepage HTML (#63935)
6be209eae78 is described below
commit 6be209eae7812dcf61243338a6e0b3620377b21a
Author: Kaxil Naik <[email protected]>
AuthorDate: Thu Mar 19 15:33:31 2026 +0000
Fix 299 blank lines in registry homepage HTML (#63935)
The Nunjucks loop that filters providers with first_released dates
emits blank lines for each iteration (~99 providers x 3 lines).
Use whitespace-trimming delimiters ({%- -%}) on the data-processing
loop to eliminate blank lines from the rendered HTML.
---
registry/src/index.njk | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/registry/src/index.njk b/registry/src/index.njk
index e8d6a475c7c..a57b5177fb1 100644
--- a/registry/src/index.njk
+++ b/registry/src/index.njk
@@ -99,13 +99,13 @@ title: Discover Providers, Operators & Hooks for Apache
Airflow
</section>
<!-- New Providers -->
-{% set allWithDate = [] %}
-{% for provider in providers.providers %}
- {% if provider.first_released %}
- {% set allWithDate = (allWithDate.push(provider), allWithDate) %}
- {% endif %}
-{% endfor %}
-{% set newProviders = allWithDate | sort(false, false, 'first_released') |
reverse | slice(0, 4) %}
+{%- set allWithDate = [] -%}
+{%- for provider in providers.providers -%}
+ {%- if provider.first_released -%}
+ {%- set allWithDate = (allWithDate.push(provider), allWithDate) -%}
+ {%- endif -%}
+{%- endfor -%}
+{%- set newProviders = allWithDate | sort(false, false, 'first_released') |
reverse | slice(0, 4) -%}
{% if newProviders.length > 0 %}
<section id="new-providers">
<div class="container">