Commit 8e0b0e17 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Resolve "Customize the link on the top"

parent 9b11c6a4
# In case something goes horribly wrong, you can fall back to `image: ruby:latest` # In case something goes horribly wrong, you can fall back to `image: ruby:latest`
image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.0 image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.4
stages: stages:
- test - test
......
...@@ -27,6 +27,9 @@ twitter_username: uni_lu ...@@ -27,6 +27,9 @@ twitter_username: uni_lu
facebook_username: uni.lu facebook_username: uni.lu
linkedin_schoolname: university-of-luxembourg linkedin_schoolname: university-of-luxembourg
# If you want to override the link on the banner (by default it points to your index page), uncomment and change the following:
# banner_link: https://wwwen.uni.lu/
# Build settings # Build settings
markdown: kramdown markdown: kramdown
plugins: plugins:
......
...@@ -3,9 +3,15 @@ ...@@ -3,9 +3,15 @@
<div> <div>
{%- assign default_paths = site.pages | map: "path" -%} {%- assign default_paths = site.pages | map: "path" -%}
{%- assign page_paths = site.header_pages | default: default_paths -%} {%- assign page_paths = site.header_pages | default: default_paths -%}
{%- if site.banner_link -%}
{%- assign banner_link = site.banner_link -%}
{%- else -%}
{%- assign banner_link = '/' | relative_url -%}
{%- endif -%}
<div class="custom-header"> <div class="custom-header">
<a href="{{ '/' | relative_url }}"><img class="img-uni-lu" <a href="{{ banner_link }}"><img class="img-uni-lu"
src="{{ '/assets/banners/uni-logo.svg' | relative_url }}" src="{{ '/assets/banners/uni-logo.svg' | relative_url }}"
type="image/svg+xml" type="image/svg+xml"
/></a> /></a>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-theme-lcsb-default" spec.name = "jekyll-theme-lcsb-default"
spec.version = "0.3.6" spec.version = "0.3.7"
spec.authors = ["Trefex", "jaceklebioda_lux"] spec.authors = ["Trefex", "jaceklebioda_lux"]
spec.email = ["lcsb-sysadmins@uni.lu"] spec.email = ["lcsb-sysadmins@uni.lu"]
......
Supports Markdown
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