jekyll-nagymaros 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -28
  3. data/_layouts/program.html +4 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 065d28b2161ae51594cbd1f3cb082d11fcb050996c4b3a92e151c5425503ca33
4
- data.tar.gz: 6e01089618360ca3dadfc597f915d53c9c349b5b9083d0d6c3a4d086d771dd83
3
+ metadata.gz: c66944e6b6f25900c9d0b793e02d4171a20ed38beafb2025d15e1190ce683893
4
+ data.tar.gz: 213885f73b6adeb8c75eadc9da1b4b34c363759f3e4e72379d803b15434a5c5c
5
5
  SHA512:
6
- metadata.gz: 5e5f974c000e913cc8536afbdbb89a9de4091486083aa5588ee4c859cfddade9f07179b24e9f6aad494082c3ddea816bbdf31b0d92aeb217f683262642dbe32b
7
- data.tar.gz: bf1f23a5d177df399d87c8272e17e346ce90875529327801056ba05a081796cb944d73f5077647ebc84dfbcf00192f4d7932c4a62341aa05bc51fc6a0a8c7c67
6
+ metadata.gz: 5f14d20053d3ab1ab40ef4227b0d8065fabbc31e784824bb244ab2fe8245c3368f1d0abc19507b2f8de786893ec388e711d09efdb3d18ec4ca076523cd2ae6a5
7
+ data.tar.gz: 2f3adb4b453d504d53afeacf1edf4e4c345298863a9921c1a32935ed5c8c6d4469ea115369158e50e635b7877d5878b53d5de9f95bd4f530dbf15081f509e6ee
data/README.md CHANGED
@@ -50,13 +50,12 @@ theme: jekyll-nagymaros
50
50
 
51
51
  The easiest way to set up a new website in this way is to clone the contents of the `demo` folder. This provides a working set of files to get you started.
52
52
 
53
- After you are done creating the basic files, run bundler:
53
+ After you are done creating the basic files, create a local gem library and run bundler:
54
54
 
55
- $ bundle
56
-
57
- Or install the gem yourself as:
58
-
59
- $ gem install jekyll-nagymaros
55
+ ```bash
56
+ bundle config set --local path 'vendor/bundle'
57
+ bundle install
58
+ ```
60
59
 
61
60
  To customize hidden files, you can create new files with the same names and paths. For example, to change the layout of the index page, you can create a `_layouts` folder and a file `index.html` within this folder that contains your custom code. During build, Jekyll will give priority to your files over the theme's.
62
61
 
@@ -76,42 +75,42 @@ The order of appearance of pages in the theme's navigation bar is determined by
76
75
 
77
76
  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
77
 
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:
78
+ For convenience, 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 to various HTML elements using the color-number convention. Here is an example:
80
79
 
81
80
  ```yaml
82
81
  a:
83
- color: blue-7
84
- hover: blue-9
82
+ color: blue-7 # links
83
+ hover: blue-9 # links when hovering
85
84
  body:
86
- bg: gray-0
87
- color: gray-8
85
+ bg: gray-0 # background
86
+ color: gray-8 # body text
88
87
  btn-primary:
89
- bg: blue-5
90
- color: gray-0
91
- hover: blue-7
92
- disabled: blue-3
88
+ bg: blue-5 # primary button
89
+ color: gray-0 # primary button text
90
+ hover: blue-7 # primary button when hovering
91
+ disabled: blue-3 # disabled primary button
93
92
  btn-secondary:
94
- bg: gray-4
95
- color: gray-0
96
- hover: gray-6
93
+ bg: gray-4 # secondary button
94
+ color: gray-0 # secondary button text
95
+ hover: gray-6 # secondary button when hovering
97
96
  digit:
98
- bg: gray-3
97
+ bg: gray-3 # background of digit on 404 page
99
98
  header:
100
- bg: gray-4
99
+ bg: gray-4 # background of navigation bar
101
100
  index:
102
- bg: gray-2
101
+ bg: gray-2 # background of index container
103
102
  navbar-brand:
104
- color: gray-8
105
- hover: gray-9
103
+ color: gray-8 # website name in header
104
+ hover: gray-9 # website name in header when hovering
106
105
  nav-link:
107
- color: gray-7
108
- hover: gray-9
106
+ color: gray-7 # navigation links in header
107
+ hover: gray-9 # navigation links in header when hovering
109
108
  text-muted:
110
- color: gray-6
111
- hover: gray-9
109
+ color: gray-6 # light text
110
+ hover: gray-9 # light text when hovering (if link)
112
111
  ```
113
112
 
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.
113
+ The variables are named after the HTML elements they style. The colors to which they are set in this example are actually the theme's defaults. If no value is provided for some variables, or if `_data/skin.yml` does not exist, the theme assumes the color scheme above.
115
114
 
116
115
  ## Credits
117
116
 
@@ -27,12 +27,12 @@ layout: default
27
27
  <div class="{{ classes }}">
28
28
  <div class="btn {{ control }} p-0 aos-init aos-animate" role="tablist" data-aos="fade-up">
29
29
  {% for day in site.data.program.days %}
30
- {% assign slug = day.name | slugify %}
30
+ {% assign id = forloop.index | prepend: 'day-' %}
31
31
  {% assign classes = 'btn btn-secondary' %}
32
32
  {% if forloop.first %}
33
33
  {% assign classes = classes | append: ' active' %}
34
34
  {% endif %}
35
- <button type="button" class="{{ classes }}" data-bs-toggle="tab" data-bs-target="#{{ slug }}" role="tab" aria-controls="{{ slug }}" aria-selected="true">
35
+ <button type="button" class="{{ classes }}" data-bs-toggle="tab" data-bs-target="#{{ id }}" role="tab" aria-controls="{{ id }}" aria-selected="true">
36
36
  <span class="fs-5">{{ day.name }}</span>
37
37
  </button>
38
38
  {% endfor %}
@@ -46,13 +46,13 @@ layout: default
46
46
  {% endif %}
47
47
  <div class="col-lg-{{ width }}">
48
48
  {% for day in site.data.program.days %}
49
- {% assign slug = day.name | slugify %}
49
+ {% assign id = forloop.index | prepend: 'day-' %}
50
50
  {% assign classes = 'tab-pane fade' %}
51
51
  {% if forloop.first %}
52
52
  {% assign classes = classes | append: ' active show' %}
53
53
  {% endif %}
54
54
  <div class="tab-content aos-init aos-animate" data-aos="fade-up">
55
- <div class="{{ classes }}" id="{{ slug }}" role="tabpanel" aria-labelledby="{{ slug }}-tab">
55
+ <div class="{{ classes }}" id="{{ id }}" role="tabpanel" aria-labelledby="{{ id }}-tab">
56
56
  {% assign categories = site.data.program.legend.categories %}
57
57
  <ul class="list-unstyled lh-sm">
58
58
  {% for event in day.events %}
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - piazzai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2024-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll