Add classes from link title
This commit is contained in:
parent
27f7ff2335
commit
eb01399c68
|
@ -13,7 +13,7 @@
|
|||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{% for link in site.main_menu %}
|
||||
<li class="{{ link.class }}"><a href="{{ link.href }}">{{ link.title }}</a></li>
|
||||
<li class="nav__{{ link.title | lower }}"><a href="{{ link.href }}">{{ link.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>{# .nav-collapse #}
|
||||
|
|
Loading…
Reference in a new issue