From d100f1b187afab685afaae61996a535bb9182a36 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Sun, 25 Feb 2018 23:56:21 +0200 Subject: [PATCH] build(aio): fix API docs breadcrumbs (#22446) This also prevents some extra `` elements inserted by the browser's trying to fix the HTML structure, which also fixes the `.header-link` added in ToC. Fixes #22387 Closes #22437 PR Close #22446 --- aio/tools/transforms/templates/api/base.template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/tools/transforms/templates/api/base.template.html b/aio/tools/transforms/templates/api/base.template.html index f1ffd6b2e1..df0c1279bd 100644 --- a/aio/tools/transforms/templates/api/base.template.html +++ b/aio/tools/transforms/templates/api/base.template.html @@ -22,7 +22,7 @@ {% for crumb in doc.breadCrumbs %}{% if not loop.last %} {$ slash() $} - {% if crumb.path %}{$ crumb.text $}{% else %}{$ crumb.text $}{% endif %} + {% if crumb.path %}{$ crumb.text $}{% else %}{$ crumb.text $}{% endif %} {% endif %}{% endfor %}
@@ -43,4 +43,4 @@
{% block body %}{% endblock %}
- \ No newline at end of file +