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

Corrected adding `active` class to the active page in menu

parent cc1593e8
......@@ -41,7 +41,7 @@
{%- for my_page in my_pages -%}
{%- if my_page.title and my_page.autogen == nil -%}
{%- if page.url == my_page.url -%}
{%- if page.title contains my_page.title -%}
<a class="page-link active" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
{% else %}
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-theme-lcsb-default"
spec.version = "0.2.2"
spec.version = "0.2.3"
spec.authors = ["Trefex", "jaceklebioda_lux"]
spec.email = ["lcsb-sysadmins@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