Commit 4cdd1fac authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Bugfix

parent be840d95
......@@ -11,9 +11,9 @@
{% comment %}This is used to generate share URL for howto-pages{% endcomment %}
{% if page.include_link %}
{% assign parts = page.url | absolute_url | replace: ".html", "" | replace: "http://", "" | replace: "https://", "" | split: "/" %}
<p class="site-footer-share">Share this page:
<a href="{{ site.share_url }}{{ page.url }}">
{% assign parts = page.url | absolute_url | replace: ".html", "" | replace: "http://", "" | replace: "https://", "" | split: "/" %}
<a href="{{ site.share_url }}{{ parts[site.include_link_index] }}">
{{ site.share_url }}{{ parts[site.include_link_index] }}
</a>
</p>
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-theme-lcsb-default"
spec.version = "0.2.22"
spec.version = "0.2.23"
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