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 4d8e69fa16 Fix Previous/Next button navigation in use cases (#1314)
4d8e69fa16 is described below
commit 4d8e69fa167a36fcabf581e45fdcce6683a8e762
Author: versha890 <[email protected]>
AuthorDate: Sun Dec 14 03:10:07 2025 +0530
Fix Previous/Next button navigation in use cases (#1314)
* Fix Previous/Next button navigation in use cases
* Fix: add missing newline at end of file
* Update landing-pages/site/layouts/partials/pager.html
Co-authored-by: Yeonguk Choo <[email protected]>
---------
Co-authored-by: Yeonguk Choo <[email protected]>
---
landing-pages/site/layouts/partials/pager.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/landing-pages/site/layouts/partials/pager.html
b/landing-pages/site/layouts/partials/pager.html
index bea5e36de0..ae28367429 100644
--- a/landing-pages/site/layouts/partials/pager.html
+++ b/landing-pages/site/layouts/partials/pager.html
@@ -18,10 +18,10 @@
*/}}
<div class="pager">
- <a {{if .PrevInSection}}href="{{.PrevInSection.RelPermalink}}"{{end}}>
- {{ partial "buttons/button-hollow" (dict "text" "Previous" "disabled"
(not .PrevInSection)) }}
+ <a {{ if .NextInSection}}href="{{.NextInSection.RelPermalink}}"{{end}}>
+ {{ partial "buttons/button-hollow" (dict "text" "Previous" "disabled"
(not .NextInSection)) }}
</a>
- <a {{if .NextInSection}}href="{{.NextInSection.RelPermalink}}"{{end}}>
- {{ partial "buttons/button-hollow" (dict "text" "Next" "disabled" (not
.NextInSection)) }}
+ <a {{ if .PrevInSection}}href="{{.PrevInSection.RelPermalink}}"{{end}}>
+ {{ partial "buttons/button-hollow" (dict "text" "Next" "disabled" (not
.PrevInSection)) }}
</a>
</div>