mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-06 08:31:45 +00:00
Provide more config options for nav and footer entries
This commit is contained in:
parent
8ed03694c3
commit
2f92856db4
2 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ footer
|
|||
each item in nav.left_footer
|
||||
li
|
||||
if item.url
|
||||
a(href=item.url) !{item.text}
|
||||
a(href=item.url, class=item.class) !{item.text}
|
||||
else
|
||||
| !{item.text}
|
||||
|
||||
|
@ -13,7 +13,7 @@ footer
|
|||
each item in nav.right_footer
|
||||
li
|
||||
if item.url
|
||||
a(href=item.url) !{item.text}
|
||||
a(href=item.url, class=item.class) !{item.text}
|
||||
else
|
||||
| !{item.text}
|
||||
|
||||
|
|
|
@ -21,13 +21,13 @@ nav.navbar.navbar-default
|
|||
else
|
||||
li
|
||||
if child.url
|
||||
a(href=child.url) !{child.text}
|
||||
a(href=child.url, class=child.class) !{child.text}
|
||||
else
|
||||
| !{child.text}
|
||||
else
|
||||
li(class=item.class)
|
||||
if item.url
|
||||
a(href=item.url) !{item.text}
|
||||
a(href=item.url, class=item.class) !{item.text}
|
||||
else
|
||||
| !{item.text}
|
||||
|
||||
|
|
Loading…
Reference in a new issue