You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/03/10 03:21:08 UTC

[04/11] incubator-mynewt-site git commit: Crumb is not clickable if it points to current page

Crumb is not clickable if it points to current page


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/d926d819
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/d926d819
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/d926d819

Branch: refs/heads/master
Commit: d926d819a3f49c5a23207c8bfbd85fbf92366c79
Parents: d692a25
Author: spoonofpower <sp...@gmail.com>
Authored: Wed Mar 9 11:44:21 2016 -0800
Committer: spoonofpower <sp...@gmail.com>
Committed: Wed Mar 9 11:44:21 2016 -0800

----------------------------------------------------------------------
 custom-theme/breadcrumbs.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/d926d819/custom-theme/breadcrumbs.html
----------------------------------------------------------------------
diff --git a/custom-theme/breadcrumbs.html b/custom-theme/breadcrumbs.html
index a9c0c1d..95df937 100644
--- a/custom-theme/breadcrumbs.html
+++ b/custom-theme/breadcrumbs.html
@@ -3,7 +3,7 @@
     <li><a href="/documentation/">Docs</a></li>
     {% if current_page %}
     {% for doc in current_page.ancestors %}
-        {% if doc.children[0].url %}
+        {% if doc.children[0].url and doc.children[0].url != current_page.url %}
           <li>&raquo; <a href="{{ doc.children[0].url|e }}">{{ doc.title }}</a></li>
         {% else %}
           <li>&raquo; {{ doc.title }}</li>