WIP
This commit is contained in:
parent
ef511f86c6
commit
7fd4e08083
6 changed files with 380 additions and 19 deletions
|
@ -18,7 +18,7 @@
|
|||
<nav class="db dtc-ns v-mid w-100 tl tr-ns mt2 mt0-ns">
|
||||
{% for link in links %}
|
||||
{% set pattern = '#^' ~ (link.pattern ?: link.href) ~ '/?#' %}
|
||||
<a href="{{ link.href }}" class="f6 hover-blue link ml2 ml-m ml4-l dib {{ page.url matches pattern ? 'black' : 'black-70' }}">
|
||||
<a href="{{ link.href }}" class="nav-item {{ page.url matches pattern ? 'nav-item--active' }}">
|
||||
{{- link.title -}}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue