This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch fix/registry-blank-lines in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 1c706e3a8d48d31659d0841808b9308a4251d450 Author: Kaxil Naik <[email protected]> AuthorDate: Thu Mar 19 14:50:17 2026 +0000 Fix 299 blank lines in registry homepage HTML 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">
