Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Miroslav Kratochvil
jekyll-theme-lcsb-default
Commits
557f41f5
Commit
557f41f5
authored
Jun 14, 2018
by
Jacek Lebioda
Browse files
The appearance of menu is parametrized with `new_menu` option in `_config.yml` file
parent
d8e3a72c
Changes
5
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
557f41f5
...
@@ -36,6 +36,7 @@ Update:
...
@@ -36,6 +36,7 @@ Update:
*
_baseurl_ entry with the name of your repository,
*
_baseurl_ entry with the name of your repository,
*
_title_ entry with your website's title,
*
_title_ entry with your website's title,
*
_email_ entry with your email,
*
_email_ entry with your email,
*
_new_menu_ to true, if you want to have menu items fully underlined (feel free to check how the site looks with the both options),
*
_date_ entry to the year you want to appear in the footer,
*
_date_ entry to the year you want to appear in the footer,
*
(optional) _banner_ to the name of the folder containing banner images (more later in this readme file)
*
(optional) _banner_ to the name of the folder containing banner images (more later in this readme file)
*
(optional) _logo_ to "small" or "big", depending on how wide your banner images are
*
(optional) _logo_ to "small" or "big", depending on how wide your banner images are
...
...
_config.yml
View file @
557f41f5
...
@@ -18,6 +18,7 @@ email: lcsb-sysadmins@uni.lu
...
@@ -18,6 +18,7 @@ email: lcsb-sysadmins@uni.lu
banner
:
default
# When you have custom images, change this setting's value to the name of the folder containing them
banner
:
default
# When you have custom images, change this setting's value to the name of the folder containing them
# Refer to assets/banners/default or assets/banners/frozen
# Refer to assets/banners/default or assets/banners/frozen
logo
:
small
# Change to "big" (without quotas) in case of having broad logo
logo
:
small
# Change to "big" (without quotas) in case of having broad logo
new_menu
:
false
date
:
"
2018"
date
:
"
2018"
description
:
>-
# this means to ignore newlines until "baseurl:"
description
:
>-
# this means to ignore newlines until "baseurl:"
This is a default LCSB Jekyll template.
This is a default LCSB Jekyll template.
...
...
_includes/header.html
View file @
557f41f5
...
@@ -42,9 +42,9 @@
...
@@ -42,9 +42,9 @@
{%- for my_page in my_pages -%}
{%- for my_page in my_pages -%}
{%- if my_page.title and my_page.autogen == nil -%}
{%- if my_page.title and my_page.autogen == nil -%}
{%- if page.title contains my_page.title -%}
{%- if page.title contains my_page.title -%}
<a
class=
"page-link
active
"
href=
"{{ my_page.url | relative_url }}"
>
{{ my_page.title | escape }}
</a>
<a
class=
"
active
page-link
{%- if site.new_menu -%}2 {%- endif -%}
"
href=
"{{ my_page.url | relative_url }}"
>
{{ my_page.title | escape }}
</a>
{% else %}
{% else %}
<a
class=
"page-link"
href=
"{{ my_page.url | relative_url }}"
>
{{ my_page.title | escape }}
</a>
<a
class=
"page-link
{%- if site.new_menu -%}2 {%- endif -%}
"
href=
"{{ my_page.url | relative_url }}"
>
{{ my_page.title | escape }}
</a>
{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endfor -%}
...
...
_sass/minima/_layout.scss
View file @
557f41f5
...
@@ -215,7 +215,7 @@ html {
...
@@ -215,7 +215,7 @@ html {
padding-bottom
:
5px
;
padding-bottom
:
5px
;
}
}
.page-link
{
.page-link
,
.page-link2
{
display
:
block
;
display
:
block
;
padding
:
5px
10px
;
padding
:
5px
10px
;
...
...
jekyll-theme-lcsb-default.gemspec
View file @
557f41f5
...
@@ -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.2.
5
"
spec
.
version
=
"0.2.
6
"
spec
.
authors
=
[
"Trefex"
,
"jaceklebioda_lux"
]
spec
.
authors
=
[
"Trefex"
,
"jaceklebioda_lux"
]
spec
.
email
=
[
"lcsb-sysadmins@uni.lu"
]
spec
.
email
=
[
"lcsb-sysadmins@uni.lu"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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