build(docs-infra): change breadcrumb delimiter to `>` (#25453)

PR Close #25453
This commit is contained in:
Pete Bacon Darwin 2018-08-13 10:38:36 +01:00 committed by Ben Lesh
parent 98f336c0fb
commit 78f477652e
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{% import "lib/githubLinks.html" as github -%} {% import "lib/githubLinks.html" as github -%}
{% set comma = joiner(',') %} {% set comma = joiner(',') %}
{% set slash = joiner('/') %} {% set breadcrumbDelimiter = joiner('>') %}
<article> <article>
{$ github.githubLinks(doc, versionInfo) $} {$ github.githubLinks(doc, versionInfo) $}
<div class="breadcrumb"> <div class="breadcrumb">
@ -14,7 +14,7 @@
] ]
} }
</script> </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> </div>
<header class="api-header"> <header class="api-header">
<h1>{$ doc.name $}</h1> <h1>{$ doc.name $}</h1>