diff --git a/_includes/header.html b/_includes/header.html
index 05f79b1a41401dfcd28be503313471b9e12134ae..7613d6f41b8fcd1603adfff006a06867b3f10a72 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -2,12 +2,12 @@
     <div id="site-header-wrapper">
         <ul>
             <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 {% if page.section == 'Services '%}class="active"{% endif %} href="{{ site.baseurl }}/services">Services</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>
+            <li><a {%- if page.section == 'About' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/about-node">About</a></li>
+            <li><a {%- if page.section == 'Services' -%}class="active"{%- endif -%} href="{{ site.baseurl }}/services">Services</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>
     </div>
 </header>
diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec
index 8060a9d9ab8c466284d16dcaa9e15dde9b230b10..25b960fb9920425fa0bd99c961096a5284401a7a 100644
--- a/elixir-theme.gemspec
+++ b/elixir-theme.gemspec
@@ -2,7 +2,7 @@
 
 Gem::Specification.new do |spec|
   spec.name          = "elixir-theme"
-  spec.version       = "0.1.6"
+  spec.version       = "0.1.7"
   spec.authors       = ["jacek.lebioda"]
   spec.email         = ["jacek.lebioda@uni.lu"]