Merge branch 'master' into use-less

This commit is contained in:
Oliver Davies 2017-10-07 14:07:11 +01:00
commit c69616e418

View file

@ -1,7 +1,7 @@
<header class="w-100 pa3 ph4-ns bg-white">
<header class="w-100 ph4-ns bg-white bb b--light-gray mb2">
<div class="db dt-ns mw9 center w-100">
<div class="db dtc-ns v-mid tl w-50">
<a href="/" class="dib f5 f4-ns mt0 mb1 link black-70" title="Home">
<div class="db dtc-ns v-mid tl w-30">
<a href="/" class="dib f5 mt0 link black-70" title="Home">
{{ site.title }}
</a>
</div>
@ -19,6 +19,7 @@
{% for link in links %}
{% set pattern = '#^' ~ (link.pattern ?: link.href) ~ '/?#' %}
<a href="{{ link.href }}" class="nav-item {{ page.url matches pattern ? 'nav-item--active' }}">
{# <a href="{{ link.href }}" class="f6 hover-blue link dib pa3 {{ page.url matches pattern ? 'black bb b--blue bw1' : 'black-50' }}"> #}
{{- link.title -}}
</a>
{% endfor %}