This is an automated email from the ASF dual-hosted git repository.
niallp pushed a commit to branch acevent
in repository https://gitbox.apache.org/repos/asf/attic.git
The following commit(s) were added to refs/heads/acevent by this push:
new 3e54658 Move "Improve this page" to breadcrumbs.html
3e54658 is described below
commit 3e5465855d2a648770ec14738aed2a8f99b50620
Author: Niall Pemberton <[email protected]>
AuthorDate: Tue May 6 09:20:37 2025 +0100
Move "Improve this page" to breadcrumbs.html
---
.../{nav_footer_custom.html => components/breadcrumbs.html} | 11 +++++++----
_includes/footer_custom.html | 6 ------
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/_includes/nav_footer_custom.html
b/_includes/components/breadcrumbs.html
similarity index 73%
rename from _includes/nav_footer_custom.html
rename to _includes/components/breadcrumbs.html
index 8cf0848..a2d8529 100644
--- a/_includes/nav_footer_custom.html
+++ b/_includes/components/breadcrumbs.html
@@ -20,8 +20,11 @@ limitations under the License.
{%- else %}
{% assign path = page.path %}
{%- endif %}
-<nav aria-label="Main" id="site-nav-custom" class="site-nav">
-<ul class="nav-list">
- <li class="nav-list-item"><button class="btn"><a href="{{ site.repo
}}/edit/main/{{ path }}" id="edit-this-page">Improve this page</a></button></li>
-</ul>
+<nav aria-label="Breadcrumb" class="breadcrumb-nav float: right">
+<p align="right">
+ <ol class="breadcrumb-nav-list">
+ <li class="breadcrumb-nav-list-item"><a href="{{ site.repo
}}/tree/main/{{ path }}">View this page</a></li>
+ <li class="breadcrumb-nav-list-item"><a href="{{ site.repo
}}/edit/main/{{ path }}">Improve this page</a></li>
+ </ol>
+</p>
</nav>
diff --git a/_includes/footer_custom.html b/_includes/footer_custom.html
index 78e3b3a..6a41983 100644
--- a/_includes/footer_custom.html
+++ b/_includes/footer_custom.html
@@ -19,9 +19,3 @@ limitations under the License.
Licensed under the <a
href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
<br />Apache and the Apache feather logo are trademarks of The Apache Software
Foundation.</p>
-{% if page.layout == 'project-layout' or page.layout ==
'project-templates-layout' -%}
- {% capture path %}{{ page.layout | prepend: "_layouts/" | append:
".html"}}{% endcapture %}
-{% else -%}
- {% assign path = page.path %}
-{% endif -%}
-<div class="d-flex mt-2"> <p class="text-small text-grey-dk-000 mb-0"> <a
href="{{ site.repo }}/edit/main/{{ path }}" id="edit-this-page">Improve this
page</a> </p> </div>