From f9f323276cb39db28a1c788fb92d2e8ad649230e Mon Sep 17 00:00:00 2001 From: "jacek.lebioda" <jacek.lebioda@uni.lu> Date: Wed, 26 Jun 2019 12:38:37 +0200 Subject: [PATCH] Fixed a bug --- _includes/header.html | 12 ++++++------ elixir-theme.gemspec | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 05f79b1..7613d6f 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 8060a9d..25b960f 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"] -- GitLab