mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
chore(dgeni): fixing api side menu active page highlights
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
<@ for doc in docs @><@ if doc.URL and doc.private != true @>
|
<@ for doc in docs @><@ if doc.URL and doc.private != true and doc.name @>
|
||||||
<li class="capitalize {% if page.id == '{{<$ doc.name $> | slugify}}' %}active{% endif %}">
|
<li class="capitalize {% if page.id == '<$ doc.name|lower|replace(' ','-') $>' %}active{% endif %}">
|
||||||
<a href="/<$ doc.URL $>"><$ doc.name $></a>
|
<a href="/<$ doc.URL $>"><$ doc.name $></a>
|
||||||
</li><@ endif @><@ endfor @>
|
</li><@ endif @><@ endfor @>
|
||||||
|
Reference in New Issue
Block a user