jekyll-nagymaros 2.2.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -8
- data/_includes/footer.html +1 -1
- data/_includes/head.html +8 -4
- data/_includes/header.html +8 -2
- data/_layouts/404.html +6 -1
- data/_layouts/default.html +3 -3
- data/_layouts/index.html +21 -3
- data/_layouts/{locations.html → map.html} +1 -1
- data/_layouts/{contributors.html → participants.html} +10 -5
- data/_layouts/program.html +7 -8
- data/_sass/_fonts.scss +18 -37
- data/_sass/overrides/_bootstrap.scss +9 -9
- data/_sass/overrides/_leaflet.scss +3 -3
- data/assets/files/paper-1.pdf +0 -0
- data/assets/files/paper-2.pdf +0 -0
- data/assets/files/poster-a.pdf +0 -0
- data/assets/files/poster-b.pdf +0 -0
- data/assets/files/poster-c.pdf +0 -0
- data/assets/files/slides.pdf +0 -0
- data/assets/fonts/InterVariable-Italic.woff2 +0 -0
- data/assets/fonts/InterVariable.woff2 +0 -0
- data/assets/icons/android-chrome-192x192.png +0 -0
- data/assets/icons/android-chrome-512x512.png +0 -0
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon-16x16.png +0 -0
- data/assets/icons/favicon-32x32.png +0 -0
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/site.webmanifest +1 -0
- data/assets/js/main.js +12 -12
- metadata +39 -47
- data/_config.yml +0 -21
- data/assets/webfonts/Inter-Bold.woff2 +0 -0
- data/assets/webfonts/Inter-BoldItalic.woff2 +0 -0
- data/assets/webfonts/Inter-Italic.woff2 +0 -0
- data/assets/webfonts/Inter-Light.woff2 +0 -0
- data/assets/webfonts/Inter-LightItalic.woff2 +0 -0
- data/assets/webfonts/Inter-Medium.woff2 +0 -0
- data/assets/webfonts/Inter-MediumItalic.woff2 +0 -0
- data/assets/webfonts/Inter-Regular.woff2 +0 -0
- /data/_data/{contributors.yml → map.yml} +0 -0
- /data/_data/{locations.yml → participants.yml} +0 -0
- /data/assets/{webfonts → fonts}/ZillaSlab-Light.woff2 +0 -0
- /data/assets/{webfonts → fonts}/ZillaSlab-LightItalic.woff2 +0 -0
- /data/assets/{images → img}/layers-2x.png +0 -0
- /data/assets/{images → img}/layers.png +0 -0
- /data/assets/{images → img}/marker-icon-2x.png +0 -0
- /data/assets/{images → img}/marker-icon.png +0 -0
- /data/assets/{images → img}/marker-shadow.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ace9c37bc67b9fe3ac0f28886011cf6dffde033083f1dd4877d724c65013844c
|
4
|
+
data.tar.gz: f73a9e2831bf4dab3521dbe8fcf1dcbe51560e26051f2af72b8d1343d49e53b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4c8462a8b521a8a1f9d01b8cb9b54881653051370906b3af1d328573818c1e45f8cae2cc961a5616d1a9c4920e8dc9efaeb8b8072a288a1f11f45471f91e325
|
7
|
+
data.tar.gz: dc9a5cdcbf7c75cbc37d74abf26093e692186683ecb54694cf5c31fe0727ac172bd9c748b2507e27500273e5aee20178a0210a09cf9a5144bb243ff32a5e71d5
|
data/README.md
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
Nagymaros is a [Jekyll](https://jekyllrb.com) theme designed for conferences, workshops, meetings, and similar events. It has a simple and intuitive structure featuring four pages that provide key information about the event:
|
4
4
|
|
5
|
-
- An index
|
5
|
+
- An index for alerts, basic details, and links to external sources such as submission systems.
|
6
6
|
- A program, allowing for single or multi-day schedules and color-coded event categories.
|
7
7
|
- A map of conference locations, customizable with markers, areas, and tooltips.
|
8
|
-
- An alphabetical list of
|
8
|
+
- An alphabetical list of participants, with optional roles, affiliations, and email addresses.
|
9
9
|
|
10
10
|
The theme is based on [Bootstrap 5](https://getbootstrap.com/), which makes it mobile-first and fully responsive. Body text is set in Inter, a clean sans-serif typeface that guarantees readability at small screen sizes. A slab-serif typeface, Zilla Slab, is used instead in display headings. The layout is adapted from [jekyll-conference-theme](https://github.com/DigitaleGesellschaft/jekyll-theme-conference) and remains quite similar to it, but compared to this theme, Nagymaros aims to be simpler and easier to customize.
|
11
11
|
|
@@ -23,15 +23,15 @@ If you choose to install the theme as a gem, your site should include at a minim
|
|
23
23
|
.
|
24
24
|
├── 404.md
|
25
25
|
├── _config.yml
|
26
|
-
├── contributors.md
|
27
26
|
├── _data
|
28
|
-
│ ├── contributors.yml
|
29
27
|
│ ├── index.yml
|
30
|
-
│ ├──
|
28
|
+
│ ├── map.yml
|
29
|
+
│ ├── participants.yml
|
31
30
|
│ └── program.yml
|
32
31
|
├── Gemfile
|
33
32
|
├── index.md
|
34
|
-
├──
|
33
|
+
├── map.md
|
34
|
+
├── participants.md
|
35
35
|
└── program.md
|
36
36
|
|
37
37
|
```
|
@@ -61,7 +61,11 @@ To customize hidden files, you can create new files with the same names and path
|
|
61
61
|
|
62
62
|
## Usage
|
63
63
|
|
64
|
-
Core customization occurs in `_config.yml`. Aside from the usual configuration variables, you can set a value for `
|
64
|
+
Core customization occurs in `_config.yml`. Aside from the usual configuration variables, you can set a value for `home`, which will determine the destination of the site title button in the header, as well as the return link from the 404 page. Only use this if you want these buttons to lead somewhere different than the index.
|
65
|
+
|
66
|
+
Next, you can set a value for `copyright`, which corresponds to the name of the copyright holder in the notice within the theme's footer. If no value is provided for this variable, the whole copyright notice is suppressed (default).
|
67
|
+
|
68
|
+
Finally, you can set a value for `indexing`, which tells search engine crawlers whether to index your site. The default value is `false`, and in this case the following code is included in the head of every page:
|
65
69
|
|
66
70
|
```html
|
67
71
|
<meta name="robots" content="none">
|
@@ -75,7 +79,7 @@ The order of appearance of pages in the theme's navigation bar is determined by
|
|
75
79
|
|
76
80
|
Customizing the CSS is possible by creating a file `_sass/_custom.scss`. You can use this both to define new styles or to overwrite the theme's defaults. The file will be automatically compiled during build.
|
77
81
|
|
78
|
-
For convenience, customization of the theme's color scheme is also possible via YAML. In this case, create a file
|
82
|
+
For convenience, customization of the theme's color scheme is also possible via YAML. In this case, create a file `_data/skin.yml` and assign new colors from the [Open Color](https://yeun.github.io/open-color) library to various HTML elements. Make sure to stick to the library's color-number naming convention. Here is an example:
|
79
83
|
|
80
84
|
```yaml
|
81
85
|
a:
|
data/_includes/footer.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{% assign year = site.time | date: '%Y' %}
|
2
2
|
{% if site.copyright and site.copyright != '' %}
|
3
3
|
<footer class="container mb-4">
|
4
|
-
<small class="text-muted">©
|
4
|
+
<small class="text-muted">©{{ year }} {{ site.copyright }}. All rights reserved.</small>
|
5
5
|
</footer>
|
6
6
|
{% endif %}
|
data/_includes/head.html
CHANGED
@@ -11,8 +11,12 @@
|
|
11
11
|
<title>{{ site.title | append: ' | ' | append: site.description }}</title>
|
12
12
|
{% endif %}
|
13
13
|
{% endif %}
|
14
|
-
<link rel="
|
15
|
-
<link rel="
|
16
|
-
<link rel="
|
17
|
-
<link rel="
|
14
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ 'assets/icons/apple-touch-icon.png' | relative_url }}">
|
15
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ 'assets/icons/favicon-32x32.png' | relative_url }}">
|
16
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ 'assets/icons/favicon-16x16.png' | relative_url }}">
|
17
|
+
<link rel="manifest" href="{{ 'assets/icons/site.webmanifest' | relative_url }}">
|
18
|
+
<link rel="stylesheet" href="{{ 'assets/css/bootstrap.css' | relative_url }}">
|
19
|
+
<link rel="stylesheet" href="{{ 'assets/css/leaflet.css' | relative_url }}">
|
20
|
+
<link rel="stylesheet" href="{{ 'assets/css/open-color.css' | relative_url }}">
|
21
|
+
<link rel="stylesheet" href="{{ 'assets/css/styles.css' | relative_url }}">
|
18
22
|
</head>
|
data/_includes/header.html
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
+
{% if site.home %}
|
2
|
+
{% assign return = site.home | relative_url %}
|
3
|
+
{% else %}
|
4
|
+
{% assign return = '/' | relative_url %}
|
5
|
+
{% endif %}
|
6
|
+
|
1
7
|
<header class="bg-{{ site.data.skin.header.bg | default: 'gray-4' }}">
|
2
8
|
<div class="container">
|
3
9
|
<nav class="navbar navbar-expand-sm">
|
4
|
-
<a class="navbar-brand" href="{{
|
10
|
+
<a class="navbar-brand" href="{{ return }}">{{ site.title }}</a>
|
5
11
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
|
6
12
|
<span class="navbar-toggler-icon"></span>
|
7
13
|
</button>
|
@@ -11,7 +17,7 @@
|
|
11
17
|
{% for link in links %}
|
12
18
|
{% if link.navorder %}
|
13
19
|
{% assign current = link.name | split: '.' | first %}
|
14
|
-
{% assign href = link.url |
|
20
|
+
{% assign href = link.url | relative_url %}
|
15
21
|
{% if page.layout == current %}
|
16
22
|
<a class="nav-link active" aria-current="page" href="{{ href }}">{{ link.title }}</a>
|
17
23
|
{% else %}
|
data/_layouts/404.html
CHANGED
@@ -4,6 +4,11 @@ layout: default
|
|
4
4
|
|
5
5
|
{% include metadata.liquid %}
|
6
6
|
{% assign digit_bg = site.data.skin.digit.bg | default: 'gray-3' %}
|
7
|
+
{% if site.home %}
|
8
|
+
{% assign return = site.home | relative_url %}
|
9
|
+
{% else %}
|
10
|
+
{% assign return = '/' | relative_url %}
|
11
|
+
{% endif %}
|
7
12
|
|
8
13
|
<main>
|
9
14
|
<div class="container text-center">
|
@@ -12,6 +17,6 @@ layout: default
|
|
12
17
|
<span {{ span }}>0</span>
|
13
18
|
<span {{ span }}>4</span>
|
14
19
|
<h1 class="display-5">{{ title }}</h1>
|
15
|
-
<p class="fs-5"><a href="{{
|
20
|
+
<p class="fs-5"><a href="{{ return }}">Return to the homepage</a></p>
|
16
21
|
</div>
|
17
22
|
</main>
|
data/_layouts/default.html
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
|
6
6
|
<body>
|
7
7
|
{{ content }}
|
8
|
-
<script src="{{ '
|
9
|
-
<script src="{{ '
|
10
|
-
<script src="{{ '
|
8
|
+
<script src="{{ 'assets/js/bootstrap.js' | relative_url }}"></script>
|
9
|
+
<script src="{{ 'assets/js/leaflet.js' | relative_url }}"></script>
|
10
|
+
<script src="{{ 'assets/js/main.js' | relative_url }}"></script>
|
11
11
|
</body>
|
12
12
|
|
13
13
|
</html>
|
data/_layouts/index.html
CHANGED
@@ -6,6 +6,24 @@ layout: default
|
|
6
6
|
{% include header.html %}
|
7
7
|
{% assign index_bg = site.data.skin.index.bg | default: 'gray-2' %}
|
8
8
|
|
9
|
+
<div class="container">
|
10
|
+
{% assign alerts = site.data.index.alerts %}
|
11
|
+
{% for alert in alerts %}
|
12
|
+
{% assign classes = 'mt-4' %}
|
13
|
+
{% unless forloop.first %}
|
14
|
+
{% assign classes = 'mt-2' %}
|
15
|
+
{% endunless %}
|
16
|
+
{% assign color = alert.color | default: 'yellow-1' %}
|
17
|
+
<div class="{{ classes }}">
|
18
|
+
<div class="alert alert-primary bg-{{ color }} alert-dismissible m-0 fade show text-center small" role="alert">
|
19
|
+
<strong>{{ alert.title }}</strong>
|
20
|
+
<span>{{ alert.text }}</span>
|
21
|
+
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
{% endfor %}
|
25
|
+
</div>
|
26
|
+
|
9
27
|
<main class="my-4">
|
10
28
|
<div class="container px-5 py-3 bg-{{ index_bg }} rounded">
|
11
29
|
<h1 class="display-3">{{ title }}</h1>
|
@@ -16,9 +34,9 @@ layout: default
|
|
16
34
|
<div class="btn-group-lg mt-4 mb-3" role="group">
|
17
35
|
{% assign buttons = site.data.index.buttons %}
|
18
36
|
{% for button in buttons %}
|
19
|
-
{% assign classes = 'btn btn-primary d-block d-lg-inline-block my-lg-0' %}
|
20
|
-
{% unless forloop.
|
21
|
-
{% assign classes = classes | append: '
|
37
|
+
{% assign classes = 'btn btn-primary d-block d-lg-inline-block my-lg-0 my-2' %}
|
38
|
+
{% unless forloop.last %}
|
39
|
+
{% assign classes = classes | append: ' me-lg-2' %}
|
22
40
|
{% endunless %}
|
23
41
|
{% if button.disabled %}
|
24
42
|
{% assign classes = classes | append: ' disabled' %}
|
@@ -9,9 +9,9 @@ layout: default
|
|
9
9
|
<div class="container">
|
10
10
|
<h1 class="display-5">{{ title }}</h1>
|
11
11
|
{{ content }}
|
12
|
-
{% if site.data.
|
12
|
+
{% if site.data.participants %}
|
13
13
|
<hr class="my-4">
|
14
|
-
{% assign groups = site.data.
|
14
|
+
{% assign groups = site.data.participants.groups %}
|
15
15
|
{% for group in groups %}
|
16
16
|
{% if group.title %}
|
17
17
|
<h5 class="fw-normal">{{ group.title }}</h5>
|
@@ -23,13 +23,18 @@ layout: default
|
|
23
23
|
{% endif %}
|
24
24
|
<div {{ div }}>
|
25
25
|
<ul class="list-unstyled">
|
26
|
-
{%
|
26
|
+
{% if group.sort %}
|
27
|
+
{% assign members = group.members | sort_natural: 'name' %}
|
28
|
+
{% else %}
|
29
|
+
{% assign members = group.members %}
|
30
|
+
{% endif %}
|
27
31
|
{% for member in members %}
|
28
32
|
{% assign full = member.name | append: ' ' | append: member.surname %}
|
33
|
+
{% assign affil = member.affil %}
|
29
34
|
{% if member.email %}
|
30
|
-
<li
|
35
|
+
<li><a href="mailto:{{ member.email }}">{{ full }}</a> <small class="text-muted">{{ affil }}</small></li>
|
31
36
|
{% else %}
|
32
|
-
<li class="
|
37
|
+
<li>{{ full }} <small class="text-muted">{{ affil }}</small></li>
|
33
38
|
{% endif %}
|
34
39
|
{% endfor %}
|
35
40
|
</ul>
|
data/_layouts/program.html
CHANGED
@@ -27,8 +27,7 @@ layout: default
|
|
27
27
|
<ul class="list-unstyled ms-3 ms-lg-0 lh-sm">
|
28
28
|
{% for event in day.events %}
|
29
29
|
{% if event.category %}
|
30
|
-
{% assign
|
31
|
-
{% assign color = category.color %}
|
30
|
+
{% assign color = categories | where: 'name', event.category | map: 'color' | first %}
|
32
31
|
{% else %}
|
33
32
|
{% assign color = 'gray-4' %}
|
34
33
|
{% endif %}
|
@@ -48,24 +47,24 @@ layout: default
|
|
48
47
|
<p class="fw-light m-0">
|
49
48
|
{% if event.paper.first %}
|
50
49
|
{% for paper in event.paper %}
|
51
|
-
<a href="{{ paper }}"
|
50
|
+
<a href="{{ paper | relative_url }}">[Paper {{ forloop.index }}]</a>
|
52
51
|
{% endfor %}
|
53
52
|
{% elsif event.paper %}
|
54
|
-
<a href="{{ event.paper }}"
|
53
|
+
<a href="{{ event.paper | relative_url }}">[Paper]</a>
|
55
54
|
{% endif %}
|
56
55
|
{% if event.poster.first %}
|
57
56
|
{% for poster in event.poster %}
|
58
|
-
<a href="{{ poster }}"
|
57
|
+
<a href="{{ poster | relative_url }}">[Poster {{ forloop.index }}]</a>
|
59
58
|
{% endfor %}
|
60
59
|
{% elsif event.poster %}
|
61
|
-
<a href="{{ event.poster }}"
|
60
|
+
<a href="{{ event.poster | relative_url }}">[Poster]</a>
|
62
61
|
{% endif %}
|
63
62
|
{% if event.slides.first %}
|
64
63
|
{% for slides in event.slides %}
|
65
|
-
<a href="{{ slides }}"
|
64
|
+
<a href="{{ slides | relative_url }}">[Slides {{ forloop.index }}]</a>
|
66
65
|
{% endfor %}
|
67
66
|
{% elsif event.slides %}
|
68
|
-
<a href="{{ event.slides }}"
|
67
|
+
<a href="{{ event.slides | relative_url }}">[Slides]</a>
|
69
68
|
{% endif %}
|
70
69
|
</p>
|
71
70
|
</div>
|
data/_sass/_fonts.scss
CHANGED
@@ -1,46 +1,27 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
);
|
6
|
-
|
7
|
-
$styles: (
|
8
|
-
normal: "",
|
9
|
-
italic: "Italic",
|
10
|
-
);
|
11
|
-
|
12
|
-
@each $style, $style-value in $styles {
|
13
|
-
@font-face {
|
14
|
-
font-family: "Zilla Slab";
|
15
|
-
font-display: swap;
|
16
|
-
font-style: #{$style};
|
17
|
-
font-weight: 300;
|
18
|
-
src: url("../webfonts/ZillaSlab-Light#{$style-value}.woff2") format("woff2");
|
19
|
-
}
|
1
|
+
@font-face {
|
2
|
+
font-family: InterVariable;
|
3
|
+
font-style: normal;
|
4
|
+
font-weight: 100 900;
|
5
|
+
src: url("../fonts/InterVariable.woff2?v=4.0") format("woff2");
|
6
|
+
}
|
20
7
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
font-weight: #{$weight-value};
|
27
|
-
src: url("../webfonts/Inter-#{$weight}#{$style-value}.woff2") format("woff2");
|
28
|
-
}
|
29
|
-
}
|
8
|
+
@font-face {
|
9
|
+
font-family: InterVariable;
|
10
|
+
font-style: italic;
|
11
|
+
font-weight: 100 900;
|
12
|
+
src: url("../fonts/InterVariable-Italic.woff2?v=4.0") format("woff2");
|
30
13
|
}
|
31
14
|
|
32
15
|
@font-face {
|
33
|
-
font-family: "
|
34
|
-
font-display: swap;
|
16
|
+
font-family: "Zilla Slab";
|
35
17
|
font-style: normal;
|
36
|
-
font-weight:
|
37
|
-
src: url("../
|
18
|
+
font-weight: 300;
|
19
|
+
src: url("../fonts/ZillaSlab-Light.woff2") format("woff2");
|
38
20
|
}
|
39
21
|
|
40
22
|
@font-face {
|
41
|
-
font-family: "
|
42
|
-
font-display: swap;
|
23
|
+
font-family: "Zilla Slab";
|
43
24
|
font-style: italic;
|
44
|
-
font-weight:
|
45
|
-
src: url("../
|
46
|
-
}
|
25
|
+
font-weight: 300;
|
26
|
+
src: url("../fonts/ZillaSlab-LightItalic.woff2") format("woff2");
|
27
|
+
}
|
@@ -7,13 +7,6 @@ a {
|
|
7
7
|
}
|
8
8
|
}
|
9
9
|
|
10
|
-
.accordion-item {
|
11
|
-
border-color: $accordion-item_border;
|
12
|
-
border-width: 0.15rem;
|
13
|
-
color: inherit;
|
14
|
-
background-color: transparent;
|
15
|
-
}
|
16
|
-
|
17
10
|
.accordion-button {
|
18
11
|
color: inherit;
|
19
12
|
background-color: $accordion-button_bg;
|
@@ -29,6 +22,13 @@ a {
|
|
29
22
|
}
|
30
23
|
}
|
31
24
|
|
25
|
+
.accordion-item {
|
26
|
+
border-color: $accordion-item_border;
|
27
|
+
border-width: 0.15rem;
|
28
|
+
color: inherit;
|
29
|
+
background-color: transparent;
|
30
|
+
}
|
31
|
+
|
32
32
|
.alert-primary {
|
33
33
|
background-color: $alert-primary_bg;
|
34
34
|
border-color: transparent !important;
|
@@ -38,7 +38,7 @@ a {
|
|
38
38
|
body {
|
39
39
|
background-color: $body_bg;
|
40
40
|
color: $body_color;
|
41
|
-
font-family: "
|
41
|
+
font-family: "InterVariable", var(--bs-font-sans-serif);
|
42
42
|
font-size: 1.15rem;
|
43
43
|
}
|
44
44
|
|
@@ -183,4 +183,4 @@ svg {
|
|
183
183
|
color: $text-muted_hover;
|
184
184
|
}
|
185
185
|
}
|
186
|
-
}
|
186
|
+
}
|
@@ -8,13 +8,13 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
.leaflet-control-layers-toggle {
|
11
|
-
background-image: url(../
|
11
|
+
background-image: url(../img/layers.png);
|
12
12
|
}
|
13
13
|
|
14
14
|
.leaflet-retina .leaflet-control-layers-toggle {
|
15
|
-
background-image: url(../
|
15
|
+
background-image: url(../img/layers-2x.png);
|
16
16
|
}
|
17
17
|
|
18
18
|
.leaflet-default-icon-path {
|
19
|
-
background-image: url(../
|
19
|
+
background-image: url(../img/marker-icon.png);
|
20
20
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
data/assets/js/main.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
3
|
|
4
|
-
{% assign center = site.data.
|
5
|
-
{% assign zoom = site.data.
|
4
|
+
{% assign center = site.data.map.center | default: '47.788542883494856, 18.961139141737842' %}
|
5
|
+
{% assign zoom = site.data.map.zoom | default: 13 %}
|
6
6
|
|
7
7
|
var map = L.map("map").setView([{{ center }}], {{ zoom }});
|
8
8
|
|
9
9
|
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
|
10
10
|
|
11
|
-
{% if site.data.
|
12
|
-
{% for marker in site.data.
|
11
|
+
{% if site.data.map.markers %}
|
12
|
+
{% for marker in site.data.map.markers %}
|
13
13
|
{% assign content = false %}
|
14
14
|
{% if marker.title %}
|
15
15
|
{% assign content = marker.title | prepend: '<strong>' | append: '</strong>' %}
|
@@ -31,18 +31,18 @@ L.marker([{{ marker.latlng }}])
|
|
31
31
|
{% endfor %}
|
32
32
|
{% endif %}
|
33
33
|
|
34
|
-
{% if site.data.
|
35
|
-
{% for
|
36
|
-
{% assign latlng =
|
37
|
-
{% assign color =
|
38
|
-
{% assign offset =
|
34
|
+
{% if site.data.map.polygons %}
|
35
|
+
{% for polygon in site.data.map.polygons %}
|
36
|
+
{% assign latlng = polygon.latlng | join: '],[' | prepend: '[' | append: ']' %}
|
37
|
+
{% assign color = polygon.color | default: '#ff6b6b' %}
|
38
|
+
{% assign offset = polygon.offset | default: '0, 0' %}
|
39
39
|
{% assign x = offset | split: ', ' | first %}
|
40
40
|
{% assign y = offset | split: ', ' | last %}
|
41
41
|
{% assign content = false %}
|
42
|
-
{% if
|
43
|
-
{% assign content =
|
42
|
+
{% if polygon.title %}
|
43
|
+
{% assign content = polygon.title | prepend: '<strong>' | append: '</strong>' %}
|
44
44
|
{% endif %}
|
45
|
-
{% for line in
|
45
|
+
{% for line in polygon.text %}
|
46
46
|
{% if content %}
|
47
47
|
{% assign content = content | append: '<br>' | append: line %}
|
48
48
|
{% else %}
|
metadata
CHANGED
@@ -1,63 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-nagymaros
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piazzai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: github-pages
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 4.3.3
|
19
|
+
version: '231'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 4.3.3
|
26
|
+
version: '231'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
28
|
+
name: webrick
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
40
|
-
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - "~>"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '2.8'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: jekyll-sitemap
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
33
|
+
version: '1.8'
|
34
|
+
- - ">="
|
52
35
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
36
|
+
version: 1.8.1
|
54
37
|
type: :runtime
|
55
38
|
prerelease: false
|
56
39
|
version_requirements: !ruby/object:Gem::Requirement
|
57
40
|
requirements:
|
58
41
|
- - "~>"
|
59
42
|
- !ruby/object:Gem::Version
|
60
|
-
version: '1.
|
43
|
+
version: '1.8'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.8.1
|
61
47
|
description:
|
62
48
|
email:
|
63
49
|
- 42124135+piazzai@users.noreply.github.com
|
@@ -67,21 +53,20 @@ extra_rdoc_files: []
|
|
67
53
|
files:
|
68
54
|
- LICENSE
|
69
55
|
- README.md
|
70
|
-
- _config.yml
|
71
|
-
- _data/contributors.yml
|
72
56
|
- _data/index.yml
|
73
|
-
- _data/
|
57
|
+
- _data/map.yml
|
58
|
+
- _data/participants.yml
|
74
59
|
- _data/program.yml
|
75
60
|
- _includes/footer.html
|
76
61
|
- _includes/head.html
|
77
62
|
- _includes/header.html
|
78
63
|
- _includes/metadata.liquid
|
79
64
|
- _layouts/404.html
|
80
|
-
- _layouts/contributors.html
|
81
65
|
- _layouts/default.html
|
82
66
|
- _layouts/index.html
|
83
|
-
- _layouts/
|
67
|
+
- _layouts/map.html
|
84
68
|
- _layouts/page.html
|
69
|
+
- _layouts/participants.html
|
85
70
|
- _layouts/program.html
|
86
71
|
- _sass/_custom.scss
|
87
72
|
- _sass/_elements.scss
|
@@ -93,24 +78,31 @@ files:
|
|
93
78
|
- assets/css/leaflet.css
|
94
79
|
- assets/css/open-color.css
|
95
80
|
- assets/css/styles.scss
|
96
|
-
- assets/
|
97
|
-
- assets/
|
98
|
-
- assets/
|
99
|
-
- assets/
|
100
|
-
- assets/
|
81
|
+
- assets/files/paper-1.pdf
|
82
|
+
- assets/files/paper-2.pdf
|
83
|
+
- assets/files/poster-a.pdf
|
84
|
+
- assets/files/poster-b.pdf
|
85
|
+
- assets/files/poster-c.pdf
|
86
|
+
- assets/files/slides.pdf
|
87
|
+
- assets/fonts/InterVariable-Italic.woff2
|
88
|
+
- assets/fonts/InterVariable.woff2
|
89
|
+
- assets/fonts/ZillaSlab-Light.woff2
|
90
|
+
- assets/fonts/ZillaSlab-LightItalic.woff2
|
91
|
+
- assets/icons/android-chrome-192x192.png
|
92
|
+
- assets/icons/android-chrome-512x512.png
|
93
|
+
- assets/icons/apple-touch-icon.png
|
94
|
+
- assets/icons/favicon-16x16.png
|
95
|
+
- assets/icons/favicon-32x32.png
|
96
|
+
- assets/icons/favicon.ico
|
97
|
+
- assets/icons/site.webmanifest
|
98
|
+
- assets/img/layers-2x.png
|
99
|
+
- assets/img/layers.png
|
100
|
+
- assets/img/marker-icon-2x.png
|
101
|
+
- assets/img/marker-icon.png
|
102
|
+
- assets/img/marker-shadow.png
|
101
103
|
- assets/js/bootstrap.js
|
102
104
|
- assets/js/leaflet.js
|
103
105
|
- assets/js/main.js
|
104
|
-
- assets/webfonts/Inter-Bold.woff2
|
105
|
-
- assets/webfonts/Inter-BoldItalic.woff2
|
106
|
-
- assets/webfonts/Inter-Italic.woff2
|
107
|
-
- assets/webfonts/Inter-Light.woff2
|
108
|
-
- assets/webfonts/Inter-LightItalic.woff2
|
109
|
-
- assets/webfonts/Inter-Medium.woff2
|
110
|
-
- assets/webfonts/Inter-MediumItalic.woff2
|
111
|
-
- assets/webfonts/Inter-Regular.woff2
|
112
|
-
- assets/webfonts/ZillaSlab-Light.woff2
|
113
|
-
- assets/webfonts/ZillaSlab-LightItalic.woff2
|
114
106
|
homepage: https://github.com/piazzai/jekyll-nagymaros
|
115
107
|
licenses:
|
116
108
|
- MIT
|
data/_config.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
title: ""
|
2
|
-
description: ""
|
3
|
-
baseurl: ""
|
4
|
-
url: ""
|
5
|
-
|
6
|
-
copyright: false
|
7
|
-
indexing: false
|
8
|
-
|
9
|
-
exclude:
|
10
|
-
- demo/
|
11
|
-
- jekyll-nagymaros.gemspec
|
12
|
-
- LICENSE
|
13
|
-
- README.md
|
14
|
-
- screenshot.png
|
15
|
-
|
16
|
-
plugins:
|
17
|
-
- jekyll-seo-tag
|
18
|
-
- jekyll-sitemap
|
19
|
-
|
20
|
-
sass:
|
21
|
-
sourcemap: never
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|