bulma-clean-theme 0.13.3 → 0.14.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.
@@ -2,41 +2,31 @@
2
2
  layout: default
3
3
  show_sidebar: false
4
4
  ---
5
-
6
5
  <div class="columns is-multiline">
7
-
8
- <div class="column is-12">
9
- {{ page.content }}
10
- </div>
11
-
12
- {% assign sorted_products = site.products | sort:page.sort %}
13
-
14
- {% for product in sorted_products %}
15
- <div class="column is-4-desktop is-6-tablet">
16
-
17
- <a href="{{ product.url | relative_url }}">
18
-
19
- <div class="card">
20
-
21
- {% if product.image %}
22
- <div class="card-image">
23
- <figure class="image is-4by3">
24
- <img src="{{ product.image }}" alt="{{ product.title }}" />
25
- </figure>
6
+ <div class="column is-12">
7
+ {{ page.content }}
8
+ </div>
9
+
10
+ {% assign sorted_products = site.products | sort: page.sort %}
11
+
12
+ {% for product in sorted_products %}
13
+ <div class="column is-4-desktop is-6-tablet">
14
+ <a href="{{ product.url | relative_url }}">
15
+ <div class="card">
16
+ {% if product.image %}
17
+ <div class="card-image">
18
+ <figure class="image is-4by3">
19
+ <img src="{{ product.image }}" alt="{{ product.title }}">
20
+ </figure>
21
+ </div>
22
+ {% endif %}
23
+ <div class="card-content">
24
+ <p class="title is-4">{{ product.title }}</p>
25
+ <p class="subtitle is-4">{{ product.subtitle }}</p>
26
+ <p class="title is-5 has-text-right">{{ product.price }}</p>
27
+ </div>
28
+ </div>
29
+ </a>
26
30
  </div>
27
- {% endif %}
28
- <div class="card-content">
29
-
30
- <p class="title is-4">{{ product.title }}</h2>
31
- <p class="subtitle is-4">{{ product.subtitle }}</p>
32
- <p class="title is-5 has-text-right">{{ product.price }}</p>
33
-
34
- </div>
35
- </div>
36
-
37
- </a>
38
-
39
- </div>
40
- {% endfor %}
31
+ {% endfor %}
41
32
  </div>
42
-
@@ -1,12 +1,10 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
4
  <div class="columns is-multiline">
6
-
7
5
  <div class="column is-6">
8
6
  <figure class="image is-4by3">
9
- <img src="{{ page.image }}" />
7
+ <img src="{{ page.image }}">
10
8
  </figure>
11
9
  </div>
12
10
 
@@ -15,47 +13,44 @@ layout: default
15
13
  <p class="subtitle is-3">{{ page.subtitle }}</p>
16
14
  <p class="title is-4 has-text-right">{{ page.price }}</p>
17
15
  {% if page.product_code %}
18
- <p class="subtitle is-5 has-text-right">{{ page.product_code }}</p>
16
+ <p class="subtitle is-5 has-text-right">{{ page.product_code }}</p>
19
17
  {% endif %}
20
-
18
+
21
19
  {% if page.rating %}
22
20
  {% include rating.html rating=page.rating %}
23
21
  {% endif %}
24
-
22
+
25
23
  {% if page.features %}
26
- <div class="content">
27
- {% for feature in page.features %}
28
- <p>
29
- <span class="icon">
30
- {% if feature.icon %}
31
- <i class="fas {{ feature.icon }}"></i>
32
- {% else %}
33
- <i class="fas fa-circle fa-xs"></i>
34
- {% endif %}
35
- </span>
36
- <span>{{ feature.label }}</span></p>
37
- {% endfor %}
38
- </div>
24
+ <div class="content">
25
+ {% for feature in page.features %}
26
+ <p>
27
+ <span class="icon">
28
+ {% if feature.icon %}
29
+ <i class="fas {{ feature.icon }}"></i>
30
+ {% else %}
31
+ <i class="fas fa-circle fa-xs"></i>
32
+ {% endif %}
33
+ </span>
34
+ <span>{{ feature.label }}</span>
35
+ </p>
36
+ {% endfor %}
37
+ </div>
39
38
  {% endif %}
40
39
  </div>
41
40
 
42
41
  <div class="column is-12">
43
42
  <p class="title is-4">Description</p>
44
43
  <div class="content">
45
-
46
-
47
44
  {{ content }}
48
45
  </div>
49
46
  </div>
50
47
 
51
48
  {% if site.data.reviews[page.product_code] %}
52
- <div class="column is-12">
53
- <p class="title is-4">Reviews</p>
54
- {% for review in site.data.reviews[page.product_code] %}
55
- {% include review.html %}
56
- {% endfor %}
57
- </div>
49
+ <div class="column is-12">
50
+ <p class="title is-4">Reviews</p>
51
+ {% for review in site.data.reviews[page.product_code] %}
52
+ {% include review.html %}
53
+ {% endfor %}
54
+ </div>
58
55
  {% endif %}
59
-
60
56
  </div>
61
-
data/_layouts/recipe.html CHANGED
@@ -1,65 +1,62 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
4
  <script type="application/ld+json">
6
- {
7
- "@context": "https://schema.org/",
8
- "@type": "Recipe",
9
- "name": "{{ page.title }}",
10
- "image": [
11
- "{{ page.image }}"
12
- ],
13
- "author": {
14
- "@type": "Person",
15
- "name": "{{ page.author }}"
16
- },
17
- "datePublished": "{{ page.date }}",
18
- "description": "{{ page.description }}",
19
- "prepTime": "{{ page.prep_time }}",
20
- "cookTime": "{{ page.cook_time }}",
21
- "totalTime": "{{ page.total_time }}",
22
- "keywords": "{{ page.keywords }}",
23
- "recipeYield": "{{ page.recipe_yield }}",
24
- "recipeCategory": "{{ page.recipe_category }}",
25
- "recipeCuisine": "{{ page.recipe_cuisine }}",
26
- {% if page.calories %}
27
- "nutrition": {
28
- "@type": "NutritionInformation",
29
- "calories": "{{ page.calories }}"
30
- },
31
- {% endif %}
32
- "recipeIngredient":
33
- {{ page.ingredients | jsonify }},
34
- "recipeInstructions": [
35
- {% for step in page.method %}
36
- {
37
- "@type": "HowToStep",
38
- "text": "{{ step }}"
39
- {% if forloop.last == true %}
40
- }
41
- {% else %}
5
+ {
6
+ "@context": "https://schema.org/",
7
+ "@type": "Recipe",
8
+ "name": "{{ page.title }}",
9
+ "image": [
10
+ "{{ page.image }}"
11
+ ],
12
+ "author": {
13
+ "@type": "Person",
14
+ "name": "{{ page.author }}"
15
+ },
16
+ "datePublished": "{{ page.date }}",
17
+ "description": "{{ page.description }}",
18
+ "prepTime": "{{ page.prep_time }}",
19
+ "cookTime": "{{ page.cook_time }}",
20
+ "totalTime": "{{ page.total_time }}",
21
+ "keywords": "{{ page.keywords }}",
22
+ "recipeYield": "{{ page.recipe_yield }}",
23
+ "recipeCategory": "{{ page.recipe_category }}",
24
+ "recipeCuisine": "{{ page.recipe_cuisine }}",
25
+ {% if page.calories %}
26
+ "nutrition": {
27
+ "@type": "NutritionInformation",
28
+ "calories": "{{ page.calories }}"
42
29
  },
43
30
  {% endif %}
44
- {% endfor %}
45
- ]
46
- }
31
+ "recipeIngredient":
32
+ {{ page.ingredients | jsonify }},
33
+ "recipeInstructions": [
34
+ {% for step in page.method %}
35
+ {
36
+ "@type": "HowToStep",
37
+ "text": "{{ step }}"
38
+ {% if forloop.last == true %}
39
+ }
40
+ {% else %}
41
+ },
42
+ {% endif %}
43
+ {% endfor %}
44
+ ]
45
+ }
47
46
  </script>
48
47
 
49
48
  <div class="columns is-multiline">
50
49
  <div class="column is-4">
51
- <div class="box has-text-centered">
52
- <strong>Serves:</strong> {{ page.recipe_yield }}
53
- </div>
50
+ <div class="box has-text-centered"><strong>Serves:</strong> {{ page.recipe_yield }}</div>
54
51
  </div>
55
52
  <div class="column is-4">
56
53
  <div class="box has-text-centered">
57
- <strong>Prep time:</strong> {{ page.prep_time | date: "%k hours %M minutes" }}
54
+ <strong>Prep time:</strong> {{ page.prep_time | date: '%k hours %M minutes' }}
58
55
  </div>
59
56
  </div>
60
57
  <div class="column is-4">
61
58
  <div class="box has-text-centered">
62
- <strong>Cook time:</strong> {{ page.cook_time | date: "%k hours %M minutes" }}
59
+ <strong>Cook time:</strong> {{ page.cook_time | date: '%k hours %M minutes' }}
63
60
  </div>
64
61
  </div>
65
62
  <div class="column is-4">
@@ -68,7 +65,7 @@ layout: default
68
65
  <div class="content">
69
66
  <ul>
70
67
  {% for ingredient in page.ingredients %}
71
- <li>{{ ingredient }}</li>
68
+ <li>{{ ingredient }}</li>
72
69
  {% endfor %}
73
70
  </ul>
74
71
  </div>
@@ -83,16 +80,16 @@ layout: default
83
80
  {% endfor %}
84
81
  </ol>
85
82
  <div class="tags">
86
- {% assign tags = page.keywords | split: "," %}
83
+ {% assign tags = page.keywords | split: ',' %}
87
84
  {% for tag in tags %}
88
85
  {% include tag.html tag=tag %}
89
86
  {% endfor %}
90
87
  </div>
91
-
92
- <p>Published: {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
88
+
89
+ <p>Published: {{ page.date | date: '%b %-d, %Y' }} by {{ page.author }}</p>
93
90
  </div>
94
91
  <div class="content">
95
92
  {{ content }}
96
93
  </div>
97
94
  </div>
98
- </div>
95
+ </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma-clean-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.3
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrisrhymes
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-15 00:00:00.000000000 Z
11
+ date: 2024-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -128,7 +128,7 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '12.0'
131
- description:
131
+ description:
132
132
  email:
133
133
  - csrhymes@gmail.com
134
134
  executables: []
@@ -138,6 +138,7 @@ files:
138
138
  - LICENSE.txt
139
139
  - README.md
140
140
  - _includes/callouts.html
141
+ - _includes/cookie-banner.html
141
142
  - _includes/disqus.html
142
143
  - _includes/footer-scripts.html
143
144
  - _includes/footer.html
@@ -283,7 +284,7 @@ homepage: https://www.github.com/chrisrhymes/bulma-clean-theme
283
284
  licenses:
284
285
  - MIT
285
286
  metadata: {}
286
- post_install_message:
287
+ post_install_message:
287
288
  rdoc_options: []
288
289
  require_paths:
289
290
  - lib
@@ -298,8 +299,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
299
  - !ruby/object:Gem::Version
299
300
  version: '0'
300
301
  requirements: []
301
- rubygems_version: 3.1.2
302
- signing_key:
302
+ rubygems_version: 3.3.7
303
+ signing_key:
303
304
  specification_version: 4
304
305
  summary: Clean and simple Jekyll theme built using Bulma
305
306
  test_files: []