jekyll-theme-lcsb-default 0.2.13 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +21 -21
- data/README.md +131 -119
- data/_includes/css-imports.html +2 -2
- data/_includes/footer.html +21 -21
- data/_includes/google-analytics.html +12 -12
- data/_includes/head.html +15 -15
- data/_includes/header.html +65 -65
- data/_includes/scripts.html +8 -8
- data/_includes/social.html +16 -16
- data/_layouts/default.html +20 -20
- data/_layouts/external.html +37 -0
- data/_layouts/frozen.html +21 -21
- data/_layouts/page.html +5 -5
- data/_layouts/paginated_index.html +83 -83
- data/_layouts/post.html +5 -5
- data/_sass/minima.scss +57 -57
- data/_sass/minima/_base.scss +299 -299
- data/_sass/minima/_frozen.scss +43 -43
- data/_sass/minima/_layout.scss +396 -396
- data/_sass/minima/_lcsb.scss +144 -144
- data/_sass/minima/_syntax-highlighting.scss +71 -71
- data/assets/banners/lcsb-logo.svg +583 -583
- data/assets/banners/uni-logo.svg +231 -231
- data/assets/fontawesome/css/fa-brands.css +13 -13
- data/assets/fontawesome/css/fa-brands.min.css +4 -4
- data/assets/fontawesome/css/fa-regular.css +14 -14
- data/assets/fontawesome/css/fa-regular.min.css +4 -4
- data/assets/fontawesome/css/fa-solid.css +15 -15
- data/assets/fontawesome/css/fa-solid.min.css +4 -4
- data/assets/fontawesome/css/fontawesome-all.css +2726 -2726
- data/assets/fontawesome/css/fontawesome-all.min.css +4 -4
- data/assets/fontawesome/css/fontawesome.css +2696 -2696
- data/assets/fontawesome/css/fontawesome.min.css +4 -4
- data/assets/fontawesome/less/_animated.less +19 -19
- data/assets/fontawesome/less/_bordered-pulled.less +16 -16
- data/assets/fontawesome/less/_core.less +12 -12
- data/assets/fontawesome/less/_fixed-width.less +6 -6
- data/assets/fontawesome/less/_icons.less +833 -833
- data/assets/fontawesome/less/_larger.less +27 -27
- data/assets/fontawesome/less/_list.less +18 -18
- data/assets/fontawesome/less/_mixins.less +57 -57
- data/assets/fontawesome/less/_rotated-flipped.less +23 -23
- data/assets/fontawesome/less/_screen-reader.less +5 -5
- data/assets/fontawesome/less/_stacked.less +22 -22
- data/assets/fontawesome/less/_variables.less +842 -842
- data/assets/fontawesome/less/fa-brands.less +21 -21
- data/assets/fontawesome/less/fa-regular.less +22 -22
- data/assets/fontawesome/less/fa-solid.less +23 -23
- data/assets/fontawesome/less/fontawesome.less +16 -16
- data/assets/fontawesome/scss/_animated.scss +20 -20
- data/assets/fontawesome/scss/_bordered-pulled.scss +20 -20
- data/assets/fontawesome/scss/_core.scss +16 -16
- data/assets/fontawesome/scss/_fixed-width.scss +6 -6
- data/assets/fontawesome/scss/_icons.scss +833 -833
- data/assets/fontawesome/scss/_larger.scss +23 -23
- data/assets/fontawesome/scss/_list.scss +18 -18
- data/assets/fontawesome/scss/_mixins.scss +57 -57
- data/assets/fontawesome/scss/_rotated-flipped.scss +23 -23
- data/assets/fontawesome/scss/_screen-reader.scss +5 -5
- data/assets/fontawesome/scss/_stacked.scss +31 -31
- data/assets/fontawesome/scss/_variables.scss +846 -846
- data/assets/fontawesome/scss/fa-brands.scss +21 -21
- data/assets/fontawesome/scss/fa-regular.scss +22 -22
- data/assets/fontawesome/scss/fa-solid.scss +23 -23
- data/assets/fontawesome/scss/fontawesome.scss +16 -16
- data/assets/fontawesome/webfonts/fa-brands-400.svg +1008 -1008
- data/assets/fontawesome/webfonts/fa-regular-400.svg +366 -366
- data/assets/fontawesome/webfonts/fa-solid-900.svg +1518 -1518
- data/assets/main.scss +5 -5
- data/assets/minima-social-icons.svg +33 -33
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 591dbb2335fcbbe0bf11d26788dec5aa102de0eef6189e98e7723f6afb51c14c
|
4
|
+
data.tar.gz: 9abc2ad286c35c52ed0c0749a11da166e1cf8c56e56e26739186c952132302fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 567bcba7eac2100ff68a32bee01450d8b827edea53b90990312f1bbb3d4db8dccb29df71b4d8fd6a8b4a9e5bdbec77b8ebef81c259db60296ac7bce9d68d5506
|
7
|
+
data.tar.gz: 8aa047cb481ddc09579ccb60b13ab701a9c14d49d98623ef1d7d9b2ac3fe2ff28492418f33cab75e74ab40e79d8b8951870dd5837a8e3c6c93381c29716c287b
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2018 Trefex
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Trefex
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,119 +1,131 @@
|
|
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
|
-
###
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
```
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
To
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
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
|
+
## License
|
129
|
+
|
130
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
131
|
+
|
data/_includes/css-imports.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
{% comment %}
|
2
|
-
Insert here CSS <link/> tags, and <style/> tags if needed.
|
1
|
+
{% comment %}
|
2
|
+
Insert here CSS <link/> tags, and <style/> tags if needed.
|
3
3
|
{% endcomment %}
|
data/_includes/footer.html
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
<footer class="site-footer h-card">
|
2
|
-
<footer class="site-footer h-card">
|
3
|
-
<div class="wrapper footer-wrapper">
|
4
|
-
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
5
|
-
|
6
|
-
<div class="footer-cp">
|
7
|
-
<p>
|
8
|
-
<div class="r3-logo">
|
9
|
-
<img src="{{ '/assets/banners/r3-logo.svg' | relative_url }}"
|
10
|
-
type="image/svg+xml"/>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
© <a href="https://wwwen.uni.lu/" target="_parent">Université du Luxembourg</a> {{ site.date | escape }}. All rights reserved.
|
14
|
-
|
15
|
-
{%- include social.html -%}
|
16
|
-
|
17
|
-
</p>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
</footer>
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<footer class="site-footer h-card">
|
3
|
+
<div class="wrapper footer-wrapper">
|
4
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
5
|
+
|
6
|
+
<div class="footer-cp">
|
7
|
+
<p>
|
8
|
+
<div class="r3-logo">
|
9
|
+
<img src="{{ '/assets/banners/r3-logo.svg' | relative_url }}"
|
10
|
+
type="image/svg+xml"/>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
© <a href="https://wwwen.uni.lu/" target="_parent">Université du Luxembourg</a> {{ site.date | escape }}. All rights reserved.
|
14
|
+
|
15
|
+
{%- include social.html -%}
|
16
|
+
|
17
|
+
</p>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</footer>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<script>
|
2
|
-
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
-
|
8
|
-
ga('create', '{{ site.google_analytics }}', 'auto');
|
9
|
-
ga('send', 'pageview');
|
10
|
-
}
|
11
|
-
</script>
|
12
|
-
|
1
|
+
<script>
|
2
|
+
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
}
|
11
|
+
</script>
|
12
|
+
|
data/_includes/head.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
<head>
|
2
|
-
<meta charset="utf-8">
|
3
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
-
{%- seo -%}
|
6
|
-
<link rel="shortcut icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}"/>
|
7
|
-
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
8
|
-
<link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
|
9
|
-
|
10
|
-
{%- include css-imports.html -%}
|
11
|
-
|
12
|
-
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
13
|
-
{%- include google-analytics.html -%}
|
14
|
-
{%- endif -%}
|
15
|
-
</head>
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
{%- seo -%}
|
6
|
+
<link rel="shortcut icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}"/>
|
7
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
8
|
+
<link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
|
9
|
+
|
10
|
+
{%- include css-imports.html -%}
|
11
|
+
|
12
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
13
|
+
{%- include google-analytics.html -%}
|
14
|
+
{%- endif -%}
|
15
|
+
</head>
|
data/_includes/header.html
CHANGED
@@ -1,65 +1,65 @@
|
|
1
|
-
<header class="site-header" role="banner">
|
2
|
-
|
3
|
-
<div>
|
4
|
-
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
-
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
-
|
7
|
-
<div class="custom-header">
|
8
|
-
<a href="{{ '/' | relative_url }}"><img class="img-uni-lu"
|
9
|
-
src="{{ '/assets/banners/uni-logo.svg' | relative_url }}"
|
10
|
-
type="image/svg+xml"
|
11
|
-
/></a>
|
12
|
-
<img class="img-banner img-banner-main"
|
13
|
-
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/banner.svg"
|
14
|
-
type="image/svg+xml"
|
15
|
-
/>
|
16
|
-
<img class="img-banner img-banner-motto"
|
17
|
-
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/motto.svg"
|
18
|
-
type="image/svg+xml"
|
19
|
-
/>
|
20
|
-
<img class="img-lcsb img-logo-{{ site.logo }}"
|
21
|
-
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/logos.svg"
|
22
|
-
type="image/svg+xml"
|
23
|
-
/>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
{%- if page_paths -%}
|
27
|
-
<nav class="site-nav">
|
28
|
-
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
29
|
-
<label for="nav-trigger">
|
30
|
-
<span class="menu-icon">
|
31
|
-
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
32
|
-
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
33
|
-
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
|
34
|
-
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
35
|
-
</svg>
|
36
|
-
</span>
|
37
|
-
</label>
|
38
|
-
|
39
|
-
<div class="wrapper trigger page-tabs">
|
40
|
-
{%- assign my_pages = site.pages | sort:"order" -%}
|
41
|
-
|
42
|
-
{%- for my_page in my_pages -%}
|
43
|
-
{%- if my_page.title and my_page.autogen == nil and my_page.order != -1 -%}
|
44
|
-
{%- if my_page.order != nil or my_page.order != '' or my_page.order > 0 -%}
|
45
|
-
{%- if page.title contains my_page.title -%}
|
46
|
-
<a class="active page-link{%- if site.new_menu -%}2 {%- endif -%}" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
47
|
-
{% else %}
|
48
|
-
<a class="page-link{%- if site.new_menu -%}2 {%- endif -%}" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
49
|
-
{%- endif -%}
|
50
|
-
{%- endif -%}
|
51
|
-
{%- endif -%}
|
52
|
-
{%- endfor -%}
|
53
|
-
</div>
|
54
|
-
</nav>
|
55
|
-
{%- endif -%}
|
56
|
-
|
57
|
-
{%- if page_paths -%}
|
58
|
-
{%- endif -%}
|
59
|
-
</div>
|
60
|
-
</header>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div>
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
|
7
|
+
<div class="custom-header">
|
8
|
+
<a href="{{ '/' | relative_url }}"><img class="img-uni-lu"
|
9
|
+
src="{{ '/assets/banners/uni-logo.svg' | relative_url }}"
|
10
|
+
type="image/svg+xml"
|
11
|
+
/></a>
|
12
|
+
<img class="img-banner img-banner-main"
|
13
|
+
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/banner.svg"
|
14
|
+
type="image/svg+xml"
|
15
|
+
/>
|
16
|
+
<img class="img-banner img-banner-motto"
|
17
|
+
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/motto.svg"
|
18
|
+
type="image/svg+xml"
|
19
|
+
/>
|
20
|
+
<img class="img-lcsb img-logo-{{ site.logo }}"
|
21
|
+
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/logos.svg"
|
22
|
+
type="image/svg+xml"
|
23
|
+
/>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
{%- if page_paths -%}
|
27
|
+
<nav class="site-nav">
|
28
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
29
|
+
<label for="nav-trigger">
|
30
|
+
<span class="menu-icon">
|
31
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
32
|
+
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
33
|
+
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
|
34
|
+
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
35
|
+
</svg>
|
36
|
+
</span>
|
37
|
+
</label>
|
38
|
+
|
39
|
+
<div class="wrapper trigger page-tabs">
|
40
|
+
{%- assign my_pages = site.pages | sort:"order" -%}
|
41
|
+
|
42
|
+
{%- for my_page in my_pages -%}
|
43
|
+
{%- if my_page.title and my_page.autogen == nil and my_page.order != -1 -%}
|
44
|
+
{%- if my_page.order != nil or my_page.order != '' or my_page.order > 0 -%}
|
45
|
+
{%- if page.title contains my_page.title -%}
|
46
|
+
<a class="active page-link{%- if site.new_menu -%}2 {%- endif -%}" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
47
|
+
{% else %}
|
48
|
+
<a class="page-link{%- if site.new_menu -%}2 {%- endif -%}" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
49
|
+
{%- endif -%}
|
50
|
+
{%- endif -%}
|
51
|
+
{%- endif -%}
|
52
|
+
{%- endfor -%}
|
53
|
+
</div>
|
54
|
+
</nav>
|
55
|
+
{%- endif -%}
|
56
|
+
|
57
|
+
{%- if page_paths -%}
|
58
|
+
{%- endif -%}
|
59
|
+
</div>
|
60
|
+
</header>
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|