Update nav classes
This commit is contained in:
parent
f549764e16
commit
bb7783dd5a
|
@ -6,9 +6,9 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav class="w-3/4 text-right">
|
<nav class="w-3/4 flex flex-wrap justify-end">
|
||||||
{% for link in site.nav_links %}
|
{% for link in site.nav_links %}
|
||||||
<a href="{{ link.href }}" class="inline-block pt-4 pb-3 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
|
<a href="{{ link.href }}" class="pt-4 pb-3 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
|
||||||
{{- link.title -}}
|
{{- link.title -}}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Reference in a new issue