Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
core-services
jekyll-theme-lcsb-default
Commits
8e0b0e17
Commit
8e0b0e17
authored
Mar 17, 2020
by
Jacek Lebioda
Browse files
Resolve "Customize the link on the top"
parent
9b11c6a4
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8e0b0e17
# 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
:
-
test
...
...
_config.yml
View file @
8e0b0e17
...
...
@@ -27,6 +27,9 @@ twitter_username: uni_lu
facebook_username
:
uni.lu
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
markdown
:
kramdown
plugins
:
...
...
_includes/header.html
View file @
8e0b0e17
...
...
@@ -3,9 +3,15 @@
<div>
{%- assign default_paths = site.pages | map: "path" -%}
{%- 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"
>
<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 }}"
type=
"image/svg+xml"
/></a>
...
...
jekyll-theme-lcsb-default.gemspec
View file @
8e0b0e17
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"jekyll-theme-lcsb-default"
spec
.
version
=
"0.3.
6
"
spec
.
version
=
"0.3.
7
"
spec
.
authors
=
[
"Trefex"
,
"jaceklebioda_lux"
]
spec
.
email
=
[
"lcsb-sysadmins@uni.lu"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment