Skip to content

Commit

Permalink
build(docs-infra): change breadcrumb delimiter to > (#25453)
Browse files Browse the repository at this point in the history
PR Close #25453
  • Loading branch information
petebacondarwin authored and benlesh committed Aug 14, 2018
1 parent 98f336c commit 78f4776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aio/tools/transforms/templates/api/base.template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% import "lib/githubLinks.html" as github -%}
{% set comma = joiner(',') %}
{% set slash = joiner('/') %}
{% set breadcrumbDelimiter = joiner('>') %}
<article>
{$ github.githubLinks(doc, versionInfo) $}
<div class="breadcrumb">
Expand All @@ -14,7 +14,7 @@
]
}
</script>
{% for crumb in doc.breadCrumbs %}{% if not loop.last %} {$ slash() $} {% if crumb.path %}<a href="{$ crumb.path $}">{$ crumb.text $}</a>{% else %}{$ crumb.text $}{% endif %}{% endif %}{% endfor %}
{% for crumb in doc.breadCrumbs %}{% if not loop.last %} {$ breadcrumbDelimiter() $} {% if crumb.path %}<a href="{$ crumb.path $}">{$ crumb.text $}</a>{% else %}{$ crumb.text $}{% endif %}{% endif %}{% endfor %}
</div>
<header class="api-header">
<h1>{$ doc.name $}</h1>
Expand Down

0 comments on commit 78f4776

Please sign in to comment.