You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/11/26 14:55:14 UTC

[airflow-site] branch master updated: Fix url of last breadcrumb-item (#302) (#315)

This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/master by this push:
     new c46f5fa  Fix url of last breadcrumb-item (#302) (#315)
c46f5fa is described below

commit c46f5fa33d781a4d269aca9adac3dd104fe89155
Author: Jennifer Melot <jt...@gmail.com>
AuthorDate: Thu Nov 26 09:55:04 2020 -0500

    Fix url of last breadcrumb-item (#302) (#315)
---
 sphinx_airflow_theme/sphinx_airflow_theme/breadcrumbs.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/breadcrumbs.html b/sphinx_airflow_theme/sphinx_airflow_theme/breadcrumbs.html
index da77ce8..4e383cd 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/breadcrumbs.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/breadcrumbs.html
@@ -35,7 +35,7 @@
             {% for doc in parents %}
                 <li class="breadcrumb-item"><a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
             {% endfor %}
-            <li class="breadcrumb-item"><a href="{{ pagename }}{{ file_suffix }}"> {{ title }}</a></li>
+            <li class="breadcrumb-item"><a href="{{ pagename.split('/')[-1] }}{{ file_suffix }}"> {{ title }}</a></li>
         {% endblock %}
     </ul>
 </div>