This is an automated email from the ASF dual-hosted git repository.
potiuk 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 05f4ac34a0 fixed the blog nav (#1398)
05f4ac34a0 is described below
commit 05f4ac34a0d937fd7a3f980575b44cacb916069f
Author: Shashiranjan singh <[email protected]>
AuthorDate: Fri Jan 23 04:39:49 2026 +0530
fixed the blog nav (#1398)
---
landing-pages/site/layouts/_partials/navbar.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/landing-pages/site/layouts/_partials/navbar.html
b/landing-pages/site/layouts/_partials/navbar.html
index 92851169b6..89d54c74a6 100644
--- a/landing-pages/site/layouts/_partials/navbar.html
+++ b/landing-pages/site/layouts/_partials/navbar.html
@@ -60,6 +60,9 @@
{{ with $el.Page }}
{{ $active = or $active ( $.IsDescendant .) }}
{{ end }}
+ {{ if and (eq $el.Name "Blog") (strings.HasPrefix
$p.RelPermalink "/blog/") }}
+ {{ $active = true }}
+ {{ end }}
{{ $url := urls.Parse $el.URL }}
{{ $baseurl := urls.Parse $.Site.Params.Baseurl }}
<a class="navbar__text-link {{if $active }}active{{end}}"