From 6219fe3323d196d2210765b2bbf960b19a2375ae Mon Sep 17 00:00:00 2001 From: "jacek.lebioda" <jacek.lebioda@uni.lu> Date: Wed, 26 Jun 2019 11:59:47 +0200 Subject: [PATCH] Correction in theme --- _includes/header.html | 12 ++++++------ _layouts/article.html | 2 +- elixir-theme.gemspec | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index df9c721..05f79b1 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 site.section == 'About '%}class="active"{% endif %} href="{{ site.baseurl }}/about-node">About</a></li> - <li><a {% if site.section == 'Services '%}class="active"{% endif %} href="{{ site.baseurl }}/services">Services</a></li> - <li><a {% if site.section == 'Training '%}class="active"{% endif %} href="{{ site.baseurl }}/training">Training</a></li> - <li><a {% if site.section == 'Events '%}class="active"{% endif %} href="{{ site.baseurl }}/events">Events</a></li> - <li><a {% if site.section == 'News '%}class="active"{% endif %} href="{{ site.baseurl }}/news">News</a></li> - <li><a {% if site.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/_layouts/article.html b/_layouts/article.html index 7982003..4fabd49 100644 --- a/_layouts/article.html +++ b/_layouts/article.html @@ -2,7 +2,7 @@ layout: default --- -<article> +<article class="one_column"> <div> <header> <h1> diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index 62d4a77..8060a9d 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.5" + spec.version = "0.1.6" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"] -- GitLab