Skip to content
Snippets Groups Projects
Verified Commit f41853fb authored by Jakob Görgen's avatar Jakob Görgen
Browse files

added technology as extra button called overview within navbar

parent fe68f575
No related branches found
No related tags found
No related merge requests found
Pipeline #109624 passed
......@@ -2,8 +2,9 @@ nav:
- title: Home
link: /
- title: Technology
link: /technology.html
children:
- title: Overview
link: /technology.html
- title: Research
link: /research.html
- title: Documentation
......
......@@ -17,14 +17,13 @@
<ul class="l1">
{% for p in site.data.navigation.nav %}
{%- capture li_id -%}submenu-{{ forloop.index }}{%- endcapture -%}
{%- if page.permalink == p.link -%}
{%- if page.permalink == p.link || p.link == "/" -%}
<li id="{{li_id}}" class="current-l1">
{%- else %}
<li id="{{li_id}}">
{%- endif %}
<a class="l1" href="{{ site.baseurl }}{{ p.link }}"
title="{{ p.title }}">{{ p.title }}</a>
{%- if p.children -%}
{{ p.title }}
<button class="collapse-children"
onclick="navCollapseChildren('{{li_id}}')">&and;
</button><button class="expand-children"
......@@ -42,6 +41,9 @@
</li>
{% endfor %}
</ul>
{%- else %}
<a class="l1" href="{{ site.baseurl }}{{ p.link }}"
title="{{ p.title }}">{{ p.title }}</a>
{%- endif %}
</li>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment