mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +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}}
|