mirror of
https://github.com/Mibew/docs.mibew.org.git
synced 2025-05-02 07:06:42 +03:00
Use page title in the table of contents
This commit is contained in:
parent
687723f617
commit
42db1e480d
@ -2,7 +2,7 @@
|
|||||||
<ul class="nav nav-stacked nav-left-indent">
|
<ul class="nav nav-stacked nav-left-indent">
|
||||||
{{#each this}}
|
{{#each this}}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{@root.baseUrl}}/{{path}}">{{name}}</a>
|
<a href="{{@root.baseUrl}}/{{path}}">{{#if file.title}}{{file.title}}{{else}}{{name}}{{/if}}</a>
|
||||||
{{! Render nested menu levels}}
|
{{! Render nested menu levels}}
|
||||||
{{> menu children}}
|
{{> menu children}}
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user