We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a47d48 commit 93b9ac9Copy full SHA for 93b9ac9
src/partials/breadcrumbs.hbs
@@ -8,8 +8,9 @@
8
{{/with}}
9
{{#each page.breadcrumbs}}
10
<li>
11
- {{~#if (and ./discrete (endsWith ./content ' Documentation'))~}}
12
- <a href="{{{relativize ./url}}}">Introduction</a>
+ {{~#if ./discrete~}}
+ {{!-- TODO: remove the exception for discrete once the UI model uses the navtitle for discrete/orphan pages --}}
13
+ <a href="{{{relativize ./url}}}" class="discrete">{{#with (resolvePage @root.page.relativeSrcPath model=false)}}{{{./asciidoc.navtitle}}}{{/with}}</a>
14
{{~else if (and ./url (eq ./urlType 'internal'))~}}
15
<a href="{{{relativize ./url}}}">{{{./content}}}</a>
16
{{~else~}}
0 commit comments