1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 12:05:23 +02:00

highlight current page on document TOC

This commit is contained in:
Harvey Kandola 2017-10-04 14:50:10 -04:00
parent ab7a515b9d
commit 0e00085f81
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
<a id="index-{{page.id}}" class="link toc-index-item {{page.tocIndentCss}}" {{action 'onClick' page.id}}>{{page.title}}</a>
<a id="index-{{page.id}}" class="link toc-index-item {{page.tocIndentCss}} {{if (eq page.id currentPageId) 'selected'}} " {{action 'onClick' page.id}}>{{page.title}}</a>