jekyll-nagymaros 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +41 -4
- data/_includes/header.html +1 -1
- data/_layouts/404.html +2 -1
- data/_layouts/index.html +2 -1
- data/_sass/overrides/_bootstrap.scss +17 -17
- data/assets/css/styles.scss +18 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 065d28b2161ae51594cbd1f3cb082d11fcb050996c4b3a92e151c5425503ca33
|
4
|
+
data.tar.gz: 6e01089618360ca3dadfc597f915d53c9c349b5b9083d0d6c3a4d086d771dd83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e5f974c000e913cc8536afbdbb89a9de4091486083aa5588ee4c859cfddade9f07179b24e9f6aad494082c3ddea816bbdf31b0d92aeb217f683262642dbe32b
|
7
|
+
data.tar.gz: bf1f23a5d177df399d87c8272e17e346ce90875529327801056ba05a081796cb944d73f5077647ebc84dfbcf00192f4d7932c4a62341aa05bc51fc6a0a8c7c67
|
data/README.md
CHANGED
@@ -68,17 +68,54 @@ Core customization occurs in `_config.yml`. Aside from the usual configuration v
|
|
68
68
|
<meta name="robots" content="none">
|
69
69
|
```
|
70
70
|
|
71
|
-
If you set the value to `true`, however, the above code will not be included,
|
71
|
+
If you set the value to `true`, however, the above code will not be included, crawlers will be allowed to index your site, and Jekyll will populate the head of every page with SEO tags through the `jekyll-seo-tag` plugin.
|
72
72
|
|
73
73
|
Data that appears in the theme's four default pages must be configured via YAML files located in the `_data` folder. See the corresponding files in `demo/_data` to understand how to write your own YAML, or better yet, clone these files and edit them.
|
74
74
|
|
75
75
|
The order of appearance of pages in the theme's navigation bar is determined by the value of `navorder` set in each page's front matter. For example, setting `navorder: 1` will make the page appear first in the list. Note that a page will only appear in the navigation bar if the `navorder` variable is set, so it is possible to hide some pages from navigation simply by not giving this variable a value.
|
76
76
|
|
77
|
-
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
|
+
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.
|
78
|
+
|
79
|
+
For convenience, the customization of the theme's color scheme is also possible via YAML: in this case, create a file called `skin.yml` in your `_data` folder and assign new colors from the [Open Color](https://yeun.github.io/open-color) library using the `(color)-(number)` convention. Here is an example:
|
80
|
+
|
81
|
+
```yaml
|
82
|
+
a:
|
83
|
+
color: blue-7
|
84
|
+
hover: blue-9
|
85
|
+
body:
|
86
|
+
bg: gray-0
|
87
|
+
color: gray-8
|
88
|
+
btn-primary:
|
89
|
+
bg: blue-5
|
90
|
+
color: gray-0
|
91
|
+
hover: blue-7
|
92
|
+
disabled: blue-3
|
93
|
+
btn-secondary:
|
94
|
+
bg: gray-4
|
95
|
+
color: gray-0
|
96
|
+
hover: gray-6
|
97
|
+
digit:
|
98
|
+
bg: gray-3
|
99
|
+
header:
|
100
|
+
bg: gray-4
|
101
|
+
index:
|
102
|
+
bg: gray-2
|
103
|
+
navbar-brand:
|
104
|
+
color: gray-8
|
105
|
+
hover: gray-9
|
106
|
+
nav-link:
|
107
|
+
color: gray-7
|
108
|
+
hover: gray-9
|
109
|
+
text-muted:
|
110
|
+
color: gray-6
|
111
|
+
hover: gray-9
|
112
|
+
```
|
113
|
+
|
114
|
+
These are actually the theme's defaults. If no value is provided for some of these variables, or if `_data/skin.yml` does not exist at all, the theme will assume the colors above.
|
78
115
|
|
79
116
|
## Credits
|
80
117
|
|
81
|
-
|
118
|
+
This theme builds on the following projects:
|
82
119
|
|
83
120
|
- [Bootstrap](https://getbootstrap.com/)
|
84
121
|
- [Inter](https://rsms.me/inter/)
|
@@ -89,4 +126,4 @@ The theme builds on the following projects:
|
|
89
126
|
|
90
127
|
## Bugs
|
91
128
|
|
92
|
-
If you find any problem using
|
129
|
+
If you find any problem using the theme, please [open an issue](https://github.com/piazzai/jekyll-nagymaros/issues).
|
data/_includes/header.html
CHANGED
data/_layouts/404.html
CHANGED
@@ -3,10 +3,11 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
{% include metadata.liquid %}
|
6
|
+
{% assign digit_bg = site.data.skin.digit.bg | default: 'gray-3' %}
|
6
7
|
|
7
8
|
<main>
|
8
9
|
<div class="container text-center">
|
9
|
-
{% assign span = 'class="h1 bg-
|
10
|
+
{% assign span = 'class="h1 bg-' | append: digit_bg | append: ' color-gray-0 rounded" id="digit"' %}
|
10
11
|
<span {{ span }}>4</span>
|
11
12
|
<span {{ span }}>0</span>
|
12
13
|
<span {{ span }}>4</span>
|
data/_layouts/index.html
CHANGED
@@ -4,9 +4,10 @@ layout: default
|
|
4
4
|
|
5
5
|
{% include metadata.liquid %}
|
6
6
|
{% include header.html %}
|
7
|
+
{% assign index_bg = site.data.skin.index.bg | default: 'gray-2' %}
|
7
8
|
|
8
9
|
<main class="my-4">
|
9
|
-
<div class="container px-5 py-3 bg-
|
10
|
+
<div class="container px-5 py-3 bg-{{ index_bg }} rounded">
|
10
11
|
<h1 class="display-3">{{ title }}</h1>
|
11
12
|
<p class="lead">{{ description }}</p>
|
12
13
|
<hr class="my-4">
|
@@ -1,44 +1,44 @@
|
|
1
1
|
a {
|
2
|
-
color:
|
2
|
+
color: $a_color;
|
3
3
|
text-decoration: none;
|
4
4
|
|
5
5
|
&:hover {
|
6
|
-
color:
|
6
|
+
color: $a_hover;
|
7
7
|
}
|
8
8
|
}
|
9
9
|
|
10
10
|
body {
|
11
|
-
background-color:
|
12
|
-
color:
|
11
|
+
background-color: $body_bg;
|
12
|
+
color: $body_color;
|
13
13
|
font-family: "Inter", var(--bs-font-sans-serif);
|
14
14
|
font-size: 1.15rem;
|
15
15
|
}
|
16
16
|
|
17
17
|
.btn-primary {
|
18
|
-
background-color:
|
18
|
+
background-color: $btn-primary_bg !important;
|
19
19
|
border-color: transparent !important;
|
20
|
-
color:
|
20
|
+
color: $btn-primary_color !important;
|
21
21
|
|
22
22
|
&:hover,
|
23
23
|
&:active,
|
24
24
|
&.active {
|
25
|
-
background-color:
|
25
|
+
background-color: $btn-primary_hover !important;
|
26
26
|
}
|
27
27
|
|
28
28
|
&.disabled {
|
29
|
-
background-color:
|
29
|
+
background-color: $btn-primary_disabled !important;
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
33
33
|
.btn-secondary {
|
34
|
-
background-color:
|
34
|
+
background-color: $btn-secondary_bg !important;
|
35
35
|
border-color: transparent !important;
|
36
|
-
color:
|
36
|
+
color: $btn-secondary_color !important;
|
37
37
|
|
38
38
|
&:hover,
|
39
39
|
&:active,
|
40
40
|
&.active {
|
41
|
-
background-color:
|
41
|
+
background-color: $btn-secondary_hover !important;
|
42
42
|
}
|
43
43
|
}
|
44
44
|
|
@@ -53,29 +53,29 @@ body {
|
|
53
53
|
}
|
54
54
|
|
55
55
|
.navbar-brand {
|
56
|
-
color:
|
56
|
+
color: $navbar-brand_color;
|
57
57
|
|
58
58
|
&:hover {
|
59
|
-
color:
|
59
|
+
color: $navbar-brand_hover;
|
60
60
|
}
|
61
61
|
}
|
62
62
|
|
63
63
|
.nav-link {
|
64
|
-
color:
|
64
|
+
color: $nav-link_color;
|
65
65
|
|
66
66
|
&:hover {
|
67
|
-
color:
|
67
|
+
color: $nav-link_hover;
|
68
68
|
}
|
69
69
|
}
|
70
70
|
|
71
71
|
.text-muted {
|
72
|
-
color:
|
72
|
+
color: $text-muted_color !important;
|
73
73
|
|
74
74
|
a {
|
75
75
|
color: inherit;
|
76
76
|
|
77
77
|
&:hover {
|
78
|
-
color:
|
78
|
+
color: $text-muted_hover;
|
79
79
|
}
|
80
80
|
}
|
81
81
|
}
|
data/assets/css/styles.scss
CHANGED
@@ -5,7 +5,24 @@
|
|
5
5
|
@import "utilities";
|
6
6
|
@import "elements";
|
7
7
|
|
8
|
+
$a_color: var(--oc-{{ site.data.skin.a.color | default: 'blue-7' }});
|
9
|
+
$a_hover: var(--oc-{{ site.data.skin.a.hover | default: 'blue-9' }});
|
10
|
+
$body_bg: var(--oc-{{ site.data.skin.body.bg | default: 'gray-0' }});
|
11
|
+
$body_color: var(--oc-{{ site.data.skin.body.color | default: 'gray-8' }});
|
12
|
+
$btn-primary_bg: var(--oc-{{ site.data.skin.btn-primary.bg | default: 'blue-5' }});
|
13
|
+
$btn-primary_color: var(--oc-{{ site.data.skin.btn-primary.color | default: 'gray-0' }});
|
14
|
+
$btn-primary_hover: var(--oc-{{ site.data.skin.btn-primary.hover | default: 'blue-7' }});
|
15
|
+
$btn-primary_disabled: var(--oc-{{ site.data.skin.btn-primary.disabled | default: 'blue-3' }});
|
16
|
+
$btn-secondary_bg: var(--oc-{{ site.data.skin.btn-secondary.bg | default: 'gray-4' }});
|
17
|
+
$btn-secondary_color: var(--oc-{{ site.data.skin.btn-secondary.color | default: 'gray-0' }});
|
18
|
+
$btn-secondary_hover: var(--oc-{{ site.data.skin.btn-secondary.hover | default: 'gray-6' }});
|
19
|
+
$navbar-brand_color: var(--oc-{{ site.data.skin.navbar-brand.color | default: 'gray-8' }});
|
20
|
+
$navbar-brand_hover: var(--oc-{{ site.data.skin.navbar-brand.hover | default: 'gray-9' }});
|
21
|
+
$nav-link_color: var(--oc-{{ site.data.skin.nav-link.color | default: 'gray-7' }});
|
22
|
+
$nav-link_hover: var(--oc-{{ site.data.skin.nav-link.hover | default: 'gray-9' }});
|
23
|
+
$text-muted_color: var(--oc-{{ site.data.skin.text-muted.color | default: 'gray-6' }});
|
24
|
+
$text-muted_hover: var(--oc-{{ site.data.skin.text-muted.hover | default: 'gray-9' }});
|
25
|
+
|
8
26
|
@import "overrides/bootstrap";
|
9
27
|
@import "overrides/leaflet";
|
10
|
-
|
11
28
|
@import "custom";
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-nagymaros
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.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-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '4.3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 4.3.
|
22
|
+
version: 4.3.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '4.3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 4.3.
|
32
|
+
version: 4.3.3
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: jekyll-seo-tag
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|