mirror of
https://github.com/ipdb/website.git
synced 2024-11-22 17:40:03 +01:00
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
<nav class="menu menu--sub menu--foundation section--background">
|
|
<div class="row">
|
|
|
|
<div class="menu-overflow">
|
|
<a class="menu__link" href="/foundation/#caretakers" data-scroll>{{ site.data.content-foundation.caretakers.title }}</a>
|
|
<a class="menu__link" href="/foundation/#board" data-scroll>{{ site.data.content-foundation.board.title }}</a>
|
|
<a class="menu__link" href="/foundation/#vision" data-scroll>{{ site.data.content-foundation.vision.title }}</a>
|
|
|
|
{% assign current_page = page %}
|
|
|
|
|
|
|
|
|
{% for page in site.pages %}
|
|
{% if page.path contains 'foundation' %}
|
|
{% assign active = nil %}
|
|
{% if page.url == current_page.url %}
|
|
{% assign active = 'active' %}
|
|
{% endif %}
|
|
|
|
{% unless page.path contains 'foundation/index' %}
|
|
<a class="menu__link {{ active }}" href="{{ page.url }}">{{ page.title }}</a>
|
|
{% endunless %}
|
|
{% endif %}
|
|
{% endfor%}
|
|
</div>
|
|
|
|
</div>
|
|
</nav>
|