Tidy templates
This commit is contained in:
parent
9c7592c872
commit
781bb446fd
|
@ -8,11 +8,11 @@
|
||||||
href="{{ meetup.url }}"
|
href="{{ meetup.url }}"
|
||||||
title="{{ meetup.name }}"
|
title="{{ meetup.name }}"
|
||||||
class="dib {% if not loop.last %}mr2{% endif %}">
|
class="dib {% if not loop.last %}mr2{% endif %}">
|
||||||
|
|
||||||
<img
|
<img
|
||||||
src="{{ site.images_url }}/assets/images/meetups/{{ meetup.logo }}"
|
src="{{ site.images_url }}/assets/images/meetups/{{ meetup.logo }}"
|
||||||
alt="{{ meetup.name }} logo"
|
alt="{{ meetup.name }} logo"
|
||||||
class="h3"
|
class="h3">
|
||||||
>
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
|
|
||||||
<nav class="db dtc-ns v-mid w-100 tl tr-ns mt2 mt0-ns">
|
<nav class="db dtc-ns v-mid w-100 tl tr-ns mt2 mt0-ns">
|
||||||
{% for link in site.nav_links %}
|
{% for link in site.nav_links %}
|
||||||
<a href="{{ link.href }}" class="nav-item {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'nav-item--active' }}">
|
<a
|
||||||
|
href="{{ link.href }}"
|
||||||
|
class="nav-item {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'nav-item--active' }}">
|
||||||
{{- link.title -}}
|
{{- link.title -}}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue