{{/unless}}
{{/if}}
{{#each page.breadcrumbs}}
- {{#if (and ./url (eq ./urlType 'internal'))}}
- <li class="crumb"><a href="{{{relativize @root.page.url ./url}}}">{{{./content}}}</a></li>
- {{else}}
- <li class="crumb">{{{./content}}}</li>
- {{/if}}
+ <li class="crumb">
+ {{~#if (and ./url (eq ./urlType 'internal'))~}}
+ <a href="{{{relativize @root.page.url ./url}}}">{{{./content}}}</a>
+ {{~else~}}
+ {{{./content}}}
+ {{~/if~}}
+ </li>
{{/each}}
</ul>
</nav>
<span class="title">{{{./title}}}</span>
<ul class="versions">
{{#each ./versions}}
- <li class="version{{#if (and (eq ../this @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if}}{{#if (eq this ../latestVersion)}} is-latest{{/if}}">
+ <li class="version
+ {{~#if (and (eq ../this @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}}
+ {{~#if (eq this ../latestVersion)}} is-latest{{/if}}">
<a href="{{{relativize @root.page.url ./url}}}">{{./version}}</a>
</li>
{{/each}}
<button class="nav-toggle"></button>
{{/if}}
{{#if ./url}}
- <a class="nav-link" href="{{#if (eq ./urlType 'internal')}}{{{relativize @root.page.url ./url}}}{{else}}{{{./url}}}{{/if}}">{{{./content}}}</a>
+ <a class="nav-link" href="
+ {{~#if (eq ./urlType 'internal')}}{{{relativize @root.page.url ./url}}}
+ {{~else}}{{{./url}}}{{~/if}}">{{{./content}}}</a>
{{else}}
<span class="nav-text">{{{./content}}}</span>
{{/if}}
<button class="versions-menu-toggle" title="Show other versions of page">{{page.version}}</button>
<div class="versions-menu">
{{#each page.versions}}
- <a class="version{{#if (eq ./version @root.page.version)}} is-current{{/if}}{{#if ./missing}} is-missing{{/if}}" href="{{{relativize @root.page.url ./url}}}">{{./version}}</a>
+ <a class="version
+ {{~#if (eq ./version @root.page.version)}} is-current{{/if~}}
+ {{~#if ./missing}} is-missing{{/if}}" href="{{{relativize @root.page.url ./url}}}">{{./version}}</a>
{{/each}}
</div>
</div>