jekyll-theme-lcsb-default 0.2.18 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +15 -6
- data/_layouts/frozen.html +1 -1
- data/_sass/minima/_frozen.scss +46 -8
- data/_sass/minima/_layout.scss +5 -1
- data/_sass/minima/_lcsb.scss +43 -0
- data/assets/fontawesome/css/all.css +4329 -0
- data/assets/fontawesome/css/all.min.css +5 -0
- data/assets/fontawesome/css/{fa-brands.css → brands.css} +3 -2
- data/assets/fontawesome/css/brands.min.css +5 -0
- data/assets/fontawesome/css/fontawesome-all.css +1611 -8
- data/assets/fontawesome/css/fontawesome-all.min.css +3 -3
- data/assets/fontawesome/css/fontawesome.css +1608 -8
- data/assets/fontawesome/css/fontawesome.min.css +3 -3
- data/assets/fontawesome/css/{fa-regular.css → regular.css} +3 -2
- data/assets/fontawesome/css/regular.min.css +5 -0
- data/assets/fontawesome/css/{fa-solid.css → solid.css} +3 -2
- data/assets/fontawesome/css/solid.min.css +5 -0
- data/assets/fontawesome/css/svg-with-js.css +346 -0
- data/assets/fontawesome/css/svg-with-js.min.css +5 -0
- data/assets/fontawesome/css/v4-shims.css +2166 -0
- data/assets/fontawesome/css/v4-shims.min.css +5 -0
- data/assets/fontawesome/less/_icons.less +534 -1
- data/assets/fontawesome/less/_list.less +1 -1
- data/assets/fontawesome/less/_mixins.less +0 -1
- data/assets/fontawesome/less/_rotated-flipped.less +3 -2
- data/assets/fontawesome/less/_shims.less +2062 -0
- data/assets/fontawesome/less/_variables.less +536 -2
- data/assets/fontawesome/less/{fa-brands.less → brands.less} +3 -2
- data/assets/fontawesome/less/fontawesome.less +2 -2
- data/assets/fontawesome/less/{fa-regular.less → regular.less} +3 -2
- data/assets/fontawesome/less/{fa-solid.less → solid.less} +3 -2
- data/assets/fontawesome/less/v4-shims.less +6 -0
- data/assets/fontawesome/scss/_core.scss +4 -0
- data/assets/fontawesome/scss/_fixed-width.scss +1 -1
- data/assets/fontawesome/scss/_icons.scss +534 -1
- data/assets/fontawesome/scss/_mixins.scss +0 -1
- data/assets/fontawesome/scss/_rotated-flipped.scss +3 -2
- data/assets/fontawesome/scss/_shims.scss +2062 -0
- data/assets/fontawesome/scss/_stacked.scss +1 -1
- data/assets/fontawesome/scss/_variables.scss +537 -2
- data/assets/fontawesome/scss/{fa-brands.scss → brands.scss} +3 -2
- data/assets/fontawesome/scss/fontawesome.scss +2 -2
- data/assets/fontawesome/scss/{fa-regular.scss → regular.scss} +3 -2
- data/assets/fontawesome/scss/{fa-solid.scss → solid.scss} +3 -2
- data/assets/fontawesome/scss/v4-shims.scss +6 -0
- data/assets/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/assets/fontawesome/webfonts/fa-brands-400.svg +3454 -1003
- data/assets/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/assets/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/assets/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.svg +798 -361
- data/assets/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.svg +4522 -1513
- data/assets/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- metadata +35 -27
- data/README.md +0 -140
- data/assets/fontawesome/css/fa-brands.min.css +0 -5
- data/assets/fontawesome/css/fa-regular.min.css +0 -5
- data/assets/fontawesome/css/fa-solid.min.css +0 -5
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-lcsb-default
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trefex
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -17,56 +17,56 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '3.
|
20
|
+
version: '3.8'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '3.
|
27
|
+
version: '3.8'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: jekyll-seo-tag
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '2.
|
34
|
+
version: '2.5'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '2.
|
41
|
+
version: '2.5'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bundler
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 1.16.1
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 1.16.1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '12.
|
62
|
+
version: '12.3'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '12.
|
69
|
+
version: '12.3'
|
70
70
|
description:
|
71
71
|
email:
|
72
72
|
- lcsb-sysadmins@uni.lu
|
@@ -75,7 +75,6 @@ extensions: []
|
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
77
|
- LICENSE.txt
|
78
|
-
- README.md
|
79
78
|
- _includes/css-imports.html
|
80
79
|
- _includes/footer.html
|
81
80
|
- _includes/google-analytics.html
|
@@ -106,16 +105,22 @@ files:
|
|
106
105
|
- assets/banners/uni-logo.svg
|
107
106
|
- assets/bg-overlay.svg
|
108
107
|
- assets/favicon.png
|
109
|
-
- assets/fontawesome/css/
|
110
|
-
- assets/fontawesome/css/
|
111
|
-
- assets/fontawesome/css/
|
112
|
-
- assets/fontawesome/css/
|
113
|
-
- assets/fontawesome/css/fa-solid.css
|
114
|
-
- assets/fontawesome/css/fa-solid.min.css
|
108
|
+
- assets/fontawesome/css/all.css
|
109
|
+
- assets/fontawesome/css/all.min.css
|
110
|
+
- assets/fontawesome/css/brands.css
|
111
|
+
- assets/fontawesome/css/brands.min.css
|
115
112
|
- assets/fontawesome/css/fontawesome-all.css
|
116
113
|
- assets/fontawesome/css/fontawesome-all.min.css
|
117
114
|
- assets/fontawesome/css/fontawesome.css
|
118
115
|
- assets/fontawesome/css/fontawesome.min.css
|
116
|
+
- assets/fontawesome/css/regular.css
|
117
|
+
- assets/fontawesome/css/regular.min.css
|
118
|
+
- assets/fontawesome/css/solid.css
|
119
|
+
- assets/fontawesome/css/solid.min.css
|
120
|
+
- assets/fontawesome/css/svg-with-js.css
|
121
|
+
- assets/fontawesome/css/svg-with-js.min.css
|
122
|
+
- assets/fontawesome/css/v4-shims.css
|
123
|
+
- assets/fontawesome/css/v4-shims.min.css
|
119
124
|
- assets/fontawesome/less/_animated.less
|
120
125
|
- assets/fontawesome/less/_bordered-pulled.less
|
121
126
|
- assets/fontawesome/less/_core.less
|
@@ -126,12 +131,14 @@ files:
|
|
126
131
|
- assets/fontawesome/less/_mixins.less
|
127
132
|
- assets/fontawesome/less/_rotated-flipped.less
|
128
133
|
- assets/fontawesome/less/_screen-reader.less
|
134
|
+
- assets/fontawesome/less/_shims.less
|
129
135
|
- assets/fontawesome/less/_stacked.less
|
130
136
|
- assets/fontawesome/less/_variables.less
|
131
|
-
- assets/fontawesome/less/
|
132
|
-
- assets/fontawesome/less/fa-regular.less
|
133
|
-
- assets/fontawesome/less/fa-solid.less
|
137
|
+
- assets/fontawesome/less/brands.less
|
134
138
|
- assets/fontawesome/less/fontawesome.less
|
139
|
+
- assets/fontawesome/less/regular.less
|
140
|
+
- assets/fontawesome/less/solid.less
|
141
|
+
- assets/fontawesome/less/v4-shims.less
|
135
142
|
- assets/fontawesome/scss/_animated.scss
|
136
143
|
- assets/fontawesome/scss/_bordered-pulled.scss
|
137
144
|
- assets/fontawesome/scss/_core.scss
|
@@ -142,12 +149,14 @@ files:
|
|
142
149
|
- assets/fontawesome/scss/_mixins.scss
|
143
150
|
- assets/fontawesome/scss/_rotated-flipped.scss
|
144
151
|
- assets/fontawesome/scss/_screen-reader.scss
|
152
|
+
- assets/fontawesome/scss/_shims.scss
|
145
153
|
- assets/fontawesome/scss/_stacked.scss
|
146
154
|
- assets/fontawesome/scss/_variables.scss
|
147
|
-
- assets/fontawesome/scss/
|
148
|
-
- assets/fontawesome/scss/fa-regular.scss
|
149
|
-
- assets/fontawesome/scss/fa-solid.scss
|
155
|
+
- assets/fontawesome/scss/brands.scss
|
150
156
|
- assets/fontawesome/scss/fontawesome.scss
|
157
|
+
- assets/fontawesome/scss/regular.scss
|
158
|
+
- assets/fontawesome/scss/solid.scss
|
159
|
+
- assets/fontawesome/scss/v4-shims.scss
|
151
160
|
- assets/fontawesome/webfonts/fa-brands-400.eot
|
152
161
|
- assets/fontawesome/webfonts/fa-brands-400.svg
|
153
162
|
- assets/fontawesome/webfonts/fa-brands-400.ttf
|
@@ -184,8 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
193
|
- !ruby/object:Gem::Version
|
185
194
|
version: '0'
|
186
195
|
requirements: []
|
187
|
-
|
188
|
-
rubygems_version: 2.7.7
|
196
|
+
rubygems_version: 3.0.3
|
189
197
|
signing_key:
|
190
198
|
specification_version: 4
|
191
199
|
summary: Simple static web-page template for uni.lu
|
data/README.md
DELETED
@@ -1,140 +0,0 @@
|
|
1
|
-
# jekyll-theme-lcsb-default
|
2
|
-
|
3
|
-
Welcome to our LCSB Jekyll theme!
|
4
|
-
|
5
|
-
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
-
|
7
|
-
> This theme is based upon https://github.com/jekyll/minima.
|
8
|
-
|
9
|
-
## Installation
|
10
|
-
|
11
|
-
Add this line to your Jekyll site's `Gemfile`:
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem "jekyll-theme-lcsb-default"
|
15
|
-
```
|
16
|
-
|
17
|
-
And add this line to your Jekyll site's `_config.yml`:
|
18
|
-
|
19
|
-
```yaml
|
20
|
-
theme: jekyll-theme-lcsb-default
|
21
|
-
```
|
22
|
-
|
23
|
-
And then execute:
|
24
|
-
|
25
|
-
$ bundle
|
26
|
-
|
27
|
-
Or install it yourself as:
|
28
|
-
|
29
|
-
$ gem install jekyll-theme-lcsb-default
|
30
|
-
|
31
|
-
## Usage
|
32
|
-
|
33
|
-
### How to configure your website
|
34
|
-
Open the `_config.yml` file.
|
35
|
-
Update:
|
36
|
-
* _baseurl_ entry with the name of your repository,
|
37
|
-
* _title_ entry with your website's title,
|
38
|
-
* _email_ entry with your email,
|
39
|
-
* _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),
|
40
|
-
* _date_ entry to the year you want to appear in the footer,
|
41
|
-
* (optional) _banner_ to the name of the folder containing banner images (more later in this readme file)
|
42
|
-
* (optional) _logo_ to "small" or "big", depending on how wide your banner images are
|
43
|
-
|
44
|
-
Save, and commit the file. Every time you commit and push to the repository, the new page will be rebuilt and served.
|
45
|
-
|
46
|
-
|
47
|
-
### How to add new pages to the website?
|
48
|
-
Create a new `.md` file inside the project's directory.
|
49
|
-
For example, you can copy `index.md` file (and you can refer to its contents as to a valid page).
|
50
|
-
|
51
|
-
It should contain the following header:
|
52
|
-
|
53
|
-
---
|
54
|
-
layout: default
|
55
|
-
title: index
|
56
|
-
order: 1
|
57
|
-
---
|
58
|
-
|
59
|
-
* Leave layout as `default`.
|
60
|
-
* The title attribute (here - `index`) is displayed in the menu, thus rename it to your needs.
|
61
|
-
* Order attribute (here - `1`) decides about the order in the menu - lower numbers come first.
|
62
|
-
* In addition, you can add `permalink` attribute, which will cause the page to be accessible by the given permalink. For example : `permalink: /something/` refers to `https://your-webpage-address.com/something`.
|
63
|
-
|
64
|
-
Don't forget to save and commit the file.
|
65
|
-
|
66
|
-
|
67
|
-
### Having links to external sites in the menu
|
68
|
-
|
69
|
-
There is a special layout type, called `external`. For example, to have a link redirecting you to google.com website, you can create a post with the following contents:
|
70
|
-
|
71
|
-
```
|
72
|
-
layout: external
|
73
|
-
redirect_to: https://www.google.com
|
74
|
-
title: Title in menu
|
75
|
-
order: 4
|
76
|
-
```
|
77
|
-
|
78
|
-
|
79
|
-
### Customise images in the header
|
80
|
-
Create a folder in `assets/banners` directory, with `banner.svg`, `logos.svg` and `motto.svg` files (for reference, consult `assets/banners/frozen` directory. Do not exceed image dimensions). Update `_config.yml` file with the name of directory you created for the images.
|
81
|
-
In case `logos.svg` file is wide, change `logo: small` to `logo: big` in `_config.yml`.
|
82
|
-
|
83
|
-
### Enabling and configuring pagination
|
84
|
-
The template includes `jekyll-paginate-v2` plugin by default, but it's turned off.
|
85
|
-
To use it, configure the pagination following instructions from the next paragraph, go to `pagination.md` file and change `enabled: false` to `enabled: true`, and `published: false` to `published: true`. Later, create a directory called `_posts` in the project root directory and fill it with posts.
|
86
|
-
You may also need to disable showing `index.md`, by setting `published: false` in its contents.
|
87
|
-
|
88
|
-
There are two sections in `_config.yml`, that refer to pagination: first, ` - jekyll-paginate-v2` line in plugins section, and then the configuration dictionary:
|
89
|
-
|
90
|
-
```
|
91
|
-
pagination:
|
92
|
-
enabled: true # Note, that setting it to disabled does not disable it completely, as it has to be also set to false in `pagination.md` file
|
93
|
-
title: ':title - page :num of :max' # Customize the text
|
94
|
-
per_page: 8 # How many posts should be displayed on one page
|
95
|
-
permalink: '/page/:num/' # The URL to the index of pagination
|
96
|
-
limit: 0
|
97
|
-
sort_field: 'date' # How the posts should be sorted. can also be: `title` or any page attribute
|
98
|
-
sort_reverse: true
|
99
|
-
trail: # How many pages should be shown in paginator.
|
100
|
-
before: 2 # Show 2 before the current one, e.g. `< 5 6 CURRENT ...`
|
101
|
-
after: 2 # Show 2 after the current one, e.g. `... CURRENT 6 7 >`
|
102
|
-
```
|
103
|
-
|
104
|
-
To disable it completely, set `enabled` to `false`, remove the aforementioned sections from the configuration, and `gem "jekyll-paginate-v2", "~> 1.7"` from `Gemfile` (from the project's root), and remove `pagination.md` file from project's root directory.
|
105
|
-
Refer to its [documentation](https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md) for more detailed instructions.
|
106
|
-
|
107
|
-
### Enabling Google Analytics
|
108
|
-
|
109
|
-
To enable Google Anaytics, add the following lines to your Jekyll site:
|
110
|
-
|
111
|
-
```yaml
|
112
|
-
google_analytics: UA-NNNNNNNN-N
|
113
|
-
```
|
114
|
-
|
115
|
-
## Contributing
|
116
|
-
|
117
|
-
Bug reports and pull requests are welcome on Gitlab at https://git-r3lab.uni.lu/core-services/jekyll-theme-lcsb-default/issues. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
118
|
-
|
119
|
-
## Development
|
120
|
-
|
121
|
-
To set up your environment to develop this theme, run `bundle install`.
|
122
|
-
|
123
|
-
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
124
|
-
|
125
|
-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
126
|
-
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-lcsb-default.gemspec` accordingly.
|
127
|
-
|
128
|
-
## Automatic gem publishing
|
129
|
-
Gitlab CI is configured to automatically build and publish a new version of theme, whenever the commit is tagged.
|
130
|
-
For details refer to [the documentation of ruby gems](https://guides.rubygems.org/make-your-own-gem/), and this repository's `.gitlab-ci.yml` and settings.
|
131
|
-
|
132
|
-
## Changelog
|
133
|
-
|
134
|
-
### 0.2.18
|
135
|
-
* Corrected placement of R3 logo in the footer on mobile
|
136
|
-
|
137
|
-
## License
|
138
|
-
|
139
|
-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
140
|
-
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com
|
3
|
-
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
4
|
-
*/
|
5
|
-
@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com
|
3
|
-
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
4
|
-
*/
|
5
|
-
@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:400;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:Font Awesome\ 5 Free;font-weight:400}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com
|
3
|
-
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
4
|
-
*/
|
5
|
-
@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:Font Awesome\ 5 Free;font-weight:900}
|