mirror of
https://github.com/Mibew/docs.mibew.org.git
synced 2025-04-18 01:07:23 +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">
|
||||
{{#each this}}
|
||||
<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}}
|
||||
{{> menu children}}
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user