Commit f91ef5d7 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Trying to fix weird behaviour in header

parent f9f32327
...@@ -2,12 +2,15 @@ ...@@ -2,12 +2,15 @@
<div id="site-header-wrapper"> <div id="site-header-wrapper">
<ul> <ul>
<li><img src="https://elixir-europe.org/system/files/white-orange-logo.png" /></li> <li><img src="https://elixir-europe.org/system/files/white-orange-logo.png" /></li>
<li><a {%- if page.section == 'About' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/about-node">About</a></li> <li><a href="{{ site.baseurl }}/about-node"
<li><a {%- if page.section == 'Services' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/services">Services</a></li> {% if page.section == 'About' %} class="active" {% endif %} >
<li><a {%- if page.section == 'Training' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/training">Training</a></li> About</a>
<li><a {%- if page.section == 'Events' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/events">Events</a></li> </li>
<li><a {%- if page.section == 'News' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/news">News</a></li> <li><a {% if page.section == 'Services' %} class="active" {% endif %} href="{{ site.baseurl }}/services">Services</a></li>
<li><a {%- if page.section == 'Contact' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/contact">Contact</a></li> <li><a {% if page.section == 'Training' %} class="active" {% endif %} href="{{ site.baseurl }}/training">Training</a></li>
<li><a {% if page.section == 'Events' %} class="active" {% endif %} href="{{ site.baseurl }}/events">Events</a></li>
<li><a {% if page.section == 'News' %} class="active" {% endif %} href="{{ site.baseurl }}/news">News</a></li>
<li><a {% if page.section == 'Contact' %} class="active" {% endif-%} href="{{ site.baseurl }}/contact">Contact</a></li>
</ul> </ul>
</div> </div>
</header> </header>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "elixir-theme" spec.name = "elixir-theme"
spec.version = "0.1.7" spec.version = "0.1.8"
spec.authors = ["jacek.lebioda"] spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"] spec.email = ["jacek.lebioda@uni.lu"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment