mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
27 lines
869 B
Handlebars
27 lines
869 B
Handlebars
{{#if isVisible}}
|
|
{{#if isLabel}}
|
|
<li class="label {{cssClasses}}">
|
|
<span>{{{wbr title}}}</span>
|
|
</li>
|
|
{{else}}
|
|
{{#if isGlobals}}
|
|
<li class="globals {{#if isInPath}}current{{/if}} {{cssClasses}}">
|
|
<a href="{{relativeURL url}}"><em>{{{wbr title}}}</em></a>
|
|
</li>
|
|
{{else}}
|
|
<li class="{{#if isInPath}}current{{/if}} {{cssClasses}}">
|
|
<a href="{{relativeURL url}}">{{{wbr title}}}</a>
|
|
{{#if isInPath}}
|
|
{{#if children}}
|
|
<ul>
|
|
{{#each children}}
|
|
{{> navigation}}
|
|
{{/each}}
|
|
</ul>
|
|
{{/if}}
|
|
{{/if}}
|
|
</li>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{/if}}
|