jekyll-theme-opentoolbox 1.0.8 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2659cddc4008e2e480fc6066710399f3e9084b85189e737d2d82ae6eaf1464c5
4
- data.tar.gz: '08ad2d673ff02be3cd58d1249bc887e198d03012ff88e3f3c87ed42dc4dc6094'
3
+ metadata.gz: 172f7aaa3c951060fe57d6e4b885fa7d251c7007647dcd23f7c40e3ad8db956b
4
+ data.tar.gz: 1d293c843683fe4df7149f508cd66c73134ecbaf133e434951088f8eee0f7a9e
5
5
  SHA512:
6
- metadata.gz: a7375ed91fb7baa7b669757193cc1412e8f6c4136e4e62e02219ba606b6e631e0262110a066a28e17e02972de515b1e41ee00bee4bc099416e66aabc07ce0af1
7
- data.tar.gz: 7efb19b7c9f560310502ca505817e155d6bfad7bd57470831fab0708eea9f34c8f0e3009c8ea74f64ab3a30748e1168562f516a0f5870a9da5dddedd14aa514e
6
+ metadata.gz: b3d22afe691dc75e963a5c057979c635338f8a5a05286b48616d96dbf45f51bee66b4dc016b71dcfd1cf3ee5511a639f47398adfe600d88176bbe4faa83cd94a
7
+ data.tar.gz: c8771995fb3371cd5b03de7f7760c341c99de5fc93acc1f17c4c58220afd3867a81ab40a3cb9ddfe69ad7ab663de8c687bf6af0b870d0faef148fa69cdbb0e6c
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # [Open Toolbox](https://thedevelopertoolbox.github.io) 🧰 [![GitHub license](https://img.shields.io/github/license/thedevelopertoolbox/template?color=grey&label=License)](https://github.com/thedevelopertoolbox/template/blob/main/LICENSE)
2
2
  Tutte le risorse dei mastermind di programmazione di start2impact!
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/jekyll-theme-opentoolbox.svg)](https://badge.fury.io/rb/jekyll-theme-opentoolbox)
4
5
  [![Build and Deploy to Github Pages](https://github.com/thedevelopertoolbox/template/actions/workflows/jekyll.yml/badge.svg)](https://github.com/thedevelopertoolbox/template/actions/workflows/jekyll.yml)
5
6
 
6
7
 
@@ -1,4 +1,4 @@
1
- <footer class="footer">
1
+ <footer class="footer mt-small">
2
2
  <div class="container">
3
3
  {% if site.footer_menu %}
4
4
  <div class="columns is-multiline">
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="columns is-multiline">
4
4
  {% for post in site.posts limit:3 %}
5
- <div class="column is-12">
5
+ <div class="column is-4">
6
6
  {% include post-card.html %}
7
7
  </div>
8
8
  {% endfor %}
@@ -1,4 +1,4 @@
1
- <div class="card is-rounded">
1
+ <div class="card">
2
2
  {% if post.image %}
3
3
  <div class="card-image">
4
4
  <img src="{{ post.image }}" alt="{{ post.title }}">
@@ -0,0 +1,11 @@
1
+ {% if page.menubar or page.menubar_toc %}
2
+ {% assign has_left_sidebar = true %}
3
+ {% endif %}
4
+
5
+ {% if page.show_sidebar and has_left_sidebar %}
6
+ {% assign content_width = 'is-4' %}
7
+ {% elsif page.show_sidebar or has_left_sidebar %}
8
+ {% assign content_width = 'is-8' %}
9
+ {% else %}
10
+ {% assign content_width = 'is-12' %}
11
+ {% endif %}
@@ -1,6 +1,16 @@
1
- <div class="has-text-centered">
2
- <a href="{{ site.baseurl }}/feed.xml" class="button is-primary">
3
- <span class="icon"><i class="fas fa-rss"></i></span>
4
- <span>Subscribe</span>
5
- </a>
1
+ <div class="hero is-small is-dark is-rounded has-shadow">
2
+ <div class="hero-body">
3
+ <div class="columns is-vcentered">
4
+ <div class="column is-four-fifths">
5
+ <p class="title is-3">Never miss a post!</p>
6
+ </div>
7
+
8
+ <div class="column">
9
+ <a href="{{ site.baseurl }}/feed.xml" class="button is-primary is-large">
10
+ <span class="icon"><i class="fas fa-rss"></i></span>
11
+ <span>Subscribe</span>
12
+ </a>
13
+ </div>
14
+ </div>
15
+ </div>
6
16
  </div>
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE html>
2
+ {% include setup.html %}
3
+ <html
4
+ lang="{{ site.lang | default: 'en' }}"
5
+ {% if site.fixed_navbar %}
6
+ class="has-navbar-fixed-{{ site.fixed_navbar }}"
7
+ {% endif %}
8
+ >
9
+ {% include head.html %}
10
+
11
+ <body>
12
+ {% include header.html %}
13
+
14
+ {{content}}
15
+
16
+ {% unless page.hide_footer %}
17
+ {% include footer.html %}
18
+ {% endunless %}
19
+
20
+ <script src="{{ site.baseurl }}/assets/js/app.js" type="text/javascript"></script>
21
+ {%- include footer-scripts.html -%}
22
+ </body>
23
+ </html>
data/_layouts/blog.html CHANGED
@@ -4,10 +4,11 @@ layout: default
4
4
 
5
5
  {{ content }}
6
6
 
7
+ <div class="section mb-medium">
8
+ {% include subscribe.html %}
9
+ </div>
10
+
7
11
  <div class="columns is-multiline">
8
- <div class="column is-12">
9
- {% include subscribe.html %}
10
- </div>
11
12
 
12
13
  {% for post in paginator.posts %}
13
14
  <div class="column is-4-desktop is-6-tablet">
@@ -1,66 +1,39 @@
1
- <!DOCTYPE html>
2
- {% if page.menubar or page.menubar_toc %}
3
- {% assign has_left_sidebar = true %}
4
- {% endif %}
1
+ ---
2
+ layout: base
3
+ ---
5
4
 
6
- {% if page.show_sidebar and has_left_sidebar %}
7
- {% assign content_width = 'is-4' %}
8
- {% elsif page.show_sidebar or has_left_sidebar %}
9
- {% assign content_width = 'is-8' %}
10
- {% else %}
11
- {% assign content_width = 'is-12' %}
12
- {% endif %}
5
+ {% unless page.hide_hero %}
6
+ {% if page.banner_with_image %}
7
+ {% include banner.html %}
8
+ {% else %}
9
+ {% include hero.html %}
10
+ {% endif %}
11
+ {% endunless %}
13
12
 
14
- <html
15
- lang="{{ site.lang | default: 'en' }}"
16
- {% if site.fixed_navbar %}class="has-navbar-fixed-{{ site.fixed_navbar }}"{% endif %}>
17
- {% include head.html %}
18
- <body>
19
- {% include header.html %}
20
- {% unless page.hide_hero %}
21
- {% if page.banner_with_image %}
22
- {% include banner.html %}
23
- {% else %}
24
- {% include hero.html %}
25
- {% endif %}
26
- {% endunless %}
13
+ {% include callouts.html %}
27
14
 
28
- {% include callouts.html %}
15
+ {% include showcase.html columns=true %}
29
16
 
30
- {% include showcase.html columns=true %}
17
+ <section class="section">
18
+ <div class="container">
19
+ <div class="columns">
20
+ {% if page.menubar_toc %}
21
+ <div class="column is-4-desktop is-4-tablet">
22
+ {% assign contentsTitle = page.toc_title | default: 'Contents' %}
23
+ {% include toc.html html=content class='menu-list' h_min=2 h_max=3 contents_title=contentsTitle %}
24
+ </div>
25
+ {% elsif page.menubar %}
26
+ <div class="column is-4-desktop is-4-tablet">
27
+ {% include menubar.html %}
28
+ </div>
29
+ {% endif %}
30
+ <div class="column {{ content_width }}">
31
+ {% include tabs.html %}
32
+ {% include sponsors.html %}
33
+ {% include gallery.html %}
31
34
 
32
- <section class="section">
33
- <div class="container">
34
- <div class="columns">
35
- {% if page.menubar_toc %}
36
- <div class="column is-4-desktop is-4-tablet">
37
- {% assign contentsTitle = page.toc_title | default: 'Contents' %}
38
- {% include toc.html html=content class='menu-list' h_min=2 h_max=3 contents_title=contentsTitle %}
39
- </div>
40
- {% elsif page.menubar %}
41
- <div class="column is-4-desktop is-4-tablet">
42
- {% include menubar.html %}
43
- </div>
44
- {% endif %}
45
- <div class="column {{ content_width }}">
46
- {% include tabs.html %}
47
- {% include sponsors.html %}
48
- {% include gallery.html %}
49
- {{ content }}
50
- </div>
51
- {% if site.posts and page.show_sidebar %}
52
- <div class="column is-4-desktop is-12-tablet">
53
- {% include latest-posts.html %}
54
- </div>
55
- {% endif %}
56
- </div>
57
- </div>
58
- </section>
59
-
60
- {% unless page.hide_footer %}
61
- {% include footer.html %}
62
- {% endunless %}
63
- <script src="{{ site.baseurl }}/assets/js/app.js" type="text/javascript"></script>
64
- {%- include footer-scripts.html -%}
65
- </body>
66
- </html>
35
+ {{ content }}
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </section>
data/_layouts/post.html CHANGED
@@ -1,23 +1,54 @@
1
1
  ---
2
- layout: default
2
+ layout: base
3
3
  ---
4
4
 
5
- <div class="content is-rounded p-0">
6
- <div class="section">
7
- <p>📅 {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
8
- <hr/>
9
- {{ content }}
10
- </div>
11
- </div>
5
+ <div class="hero is-dark mb-large">
6
+ <div class="hero-body">
7
+ <div class="container">
8
+ <div class="section">
9
+ <div class="columns is-vcentered">
10
+ <div class="column">
11
+ <h1 class="title is-1">{{page.title}}</h1>
12
+ <p>📅 {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
13
+ </div>
14
+
15
+ {% if page.summary %}
16
+ <div class="column">
17
+ {{ page.summary | markdownify }}
18
+ </div>
19
+ {% endif %}
20
+ </div>
21
+
22
+ {% if page.tags %}
23
+ <div class="tags my-medium">
24
+ {% for tag in page.tags %}
25
+ {% include tag.html tag=tag %}
26
+ {% endfor %}
27
+ </div>
28
+ {% endif %}
29
+ </div>
12
30
 
13
- {% if page.tags %}
14
- <div class="tags section">
15
- {% for tag in page.tags %}
16
- {% include tag.html tag=tag %}
17
- {% endfor %}
31
+ <div class="mb-negative-large">
32
+ <img src="{{page.image}}" class="thumbnail mx-auto is-rounded"/>
33
+ </div>
34
+ </div>
35
+ </div>
18
36
  </div>
19
- {% endif %}
20
37
 
21
- {% if site.disqus.shortname %}
22
- {% include disqus.html %}
23
- {% endif %}
38
+ <div class="container">
39
+ <div class="content p-0">
40
+ <div class="section">
41
+ {{ content }}
42
+ </div>
43
+ </div>
44
+
45
+ {% if site.disqus.shortname %}
46
+ {% include disqus.html %}
47
+ {% endif %}
48
+
49
+ {% if site.posts %}
50
+ <div>
51
+ {% include latest-posts.html %}
52
+ </div>
53
+ {% endif %}
54
+ </div>
@@ -8,6 +8,7 @@ summary: |-
8
8
  It can be in **Markdown format** if required.
9
9
  author: "@sinisimattia"
10
10
  image: "https://miro.medium.com/max/1024/1*OohqW5DGh9CQS4hLY5FXzA.png"
11
+ tags: these are the tags
11
12
  ---
12
13
 
13
14
  Figo eh?
@@ -0,0 +1,259 @@
1
+ .highlight {
2
+ background: #202020;
3
+ color: #d0d0d0;
4
+
5
+ .hll {
6
+ background-color: #404040;
7
+ }
8
+ .c {
9
+ color: #999999;
10
+ font-style: italic;
11
+ } /* Comment */
12
+ .err {
13
+ color: #a61717;
14
+ background-color: #e3d2d2;
15
+ } /* Error */
16
+ .esc {
17
+ color: #d0d0d0;
18
+ } /* Escape */
19
+ .g {
20
+ color: #d0d0d0;
21
+ } /* Generic */
22
+ .k {
23
+ color: #6ab825;
24
+ font-weight: bold;
25
+ } /* Keyword */
26
+ .l {
27
+ color: #d0d0d0;
28
+ } /* Literal */
29
+ .n {
30
+ color: #d0d0d0;
31
+ } /* Name */
32
+ .o {
33
+ color: #d0d0d0;
34
+ } /* Operator */
35
+ .x {
36
+ color: #d0d0d0;
37
+ } /* Other */
38
+ .p {
39
+ color: #d0d0d0;
40
+ } /* Punctuation */
41
+ .ch {
42
+ color: #999999;
43
+ font-style: italic;
44
+ } /* Comment.Hashbang */
45
+ .cm {
46
+ color: #999999;
47
+ font-style: italic;
48
+ } /* Comment.Multiline */
49
+ .cp {
50
+ color: #cd2828;
51
+ font-weight: bold;
52
+ } /* Comment.Preproc */
53
+ .cpf {
54
+ color: #999999;
55
+ font-style: italic;
56
+ } /* Comment.PreprocFile */
57
+ .c1 {
58
+ color: #999999;
59
+ font-style: italic;
60
+ } /* Comment.Single */
61
+ .cs {
62
+ color: #e50808;
63
+ font-weight: bold;
64
+ background-color: #520000;
65
+ } /* Comment.Special */
66
+ .gd {
67
+ color: #d22323;
68
+ } /* Generic.Deleted */
69
+ .ge {
70
+ color: #d0d0d0;
71
+ font-style: italic;
72
+ } /* Generic.Emph */
73
+ .gr {
74
+ color: #d22323;
75
+ } /* Generic.Error */
76
+ .gh {
77
+ color: #ffffff;
78
+ font-weight: bold;
79
+ } /* Generic.Heading */
80
+ .gi {
81
+ color: #589819;
82
+ } /* Generic.Inserted */
83
+ .go {
84
+ color: #cccccc;
85
+ } /* Generic.Output */
86
+ .gp {
87
+ color: #aaaaaa;
88
+ } /* Generic.Prompt */
89
+ .gs {
90
+ color: #d0d0d0;
91
+ font-weight: bold;
92
+ } /* Generic.Strong */
93
+ .gu {
94
+ color: #ffffff;
95
+ text-decoration: underline;
96
+ } /* Generic.Subheading */
97
+ .gt {
98
+ color: #d22323;
99
+ } /* Generic.Traceback */
100
+ .kc {
101
+ color: #6ab825;
102
+ font-weight: bold;
103
+ } /* Keyword.Constant */
104
+ .kd {
105
+ color: #6ab825;
106
+ font-weight: bold;
107
+ } /* Keyword.Declaration */
108
+ .kn {
109
+ color: #6ab825;
110
+ font-weight: bold;
111
+ } /* Keyword.Namespace */
112
+ .kp {
113
+ color: #6ab825;
114
+ } /* Keyword.Pseudo */
115
+ .kr {
116
+ color: #6ab825;
117
+ font-weight: bold;
118
+ } /* Keyword.Reserved */
119
+ .kt {
120
+ color: #6ab825;
121
+ font-weight: bold;
122
+ } /* Keyword.Type */
123
+ .ld {
124
+ color: #d0d0d0;
125
+ } /* Literal.Date */
126
+ .m {
127
+ color: #3677a9;
128
+ } /* Literal.Number */
129
+ .s {
130
+ color: #ed9d13;
131
+ } /* Literal.String */
132
+ .na {
133
+ color: #bbbbbb;
134
+ } /* Name.Attribute */
135
+ .nb {
136
+ color: #24909d;
137
+ } /* Name.Builtin */
138
+ .nc {
139
+ color: #447fcf;
140
+ text-decoration: underline;
141
+ } /* Name.Class */
142
+ .no {
143
+ color: #40ffff;
144
+ } /* Name.Constant */
145
+ .nd {
146
+ color: #ffa500;
147
+ } /* Name.Decorator */
148
+ .ni {
149
+ color: #d0d0d0;
150
+ } /* Name.Entity */
151
+ .ne {
152
+ color: #bbbbbb;
153
+ } /* Name.Exception */
154
+ .nf {
155
+ color: #447fcf;
156
+ } /* Name.Function */
157
+ .nl {
158
+ color: #d0d0d0;
159
+ } /* Name.Label */
160
+ .nn {
161
+ color: #447fcf;
162
+ text-decoration: underline;
163
+ } /* Name.Namespace */
164
+ .nx {
165
+ color: #d0d0d0;
166
+ } /* Name.Other */
167
+ .py {
168
+ color: #d0d0d0;
169
+ } /* Name.Property */
170
+ .nt {
171
+ color: #6ab825;
172
+ font-weight: bold;
173
+ } /* Name.Tag */
174
+ .nv {
175
+ color: #40ffff;
176
+ } /* Name.Variable */
177
+ .ow {
178
+ color: #6ab825;
179
+ font-weight: bold;
180
+ } /* Operator.Word */
181
+ .w {
182
+ color: #666666;
183
+ } /* Text.Whitespace */
184
+ .mb {
185
+ color: #3677a9;
186
+ } /* Literal.Number.Bin */
187
+ .mf {
188
+ color: #3677a9;
189
+ } /* Literal.Number.Float */
190
+ .mh {
191
+ color: #3677a9;
192
+ } /* Literal.Number.Hex */
193
+ .mi {
194
+ color: #3677a9;
195
+ } /* Literal.Number.Integer */
196
+ .mo {
197
+ color: #3677a9;
198
+ } /* Literal.Number.Oct */
199
+ .sa {
200
+ color: #ed9d13;
201
+ } /* Literal.String.Affix */
202
+ .sb {
203
+ color: #ed9d13;
204
+ } /* Literal.String.Backtick */
205
+ .sc {
206
+ color: #ed9d13;
207
+ } /* Literal.String.Char */
208
+ .dl {
209
+ color: #ed9d13;
210
+ } /* Literal.String.Delimiter */
211
+ .sd {
212
+ color: #ed9d13;
213
+ } /* Literal.String.Doc */
214
+ .s2 {
215
+ color: #ed9d13;
216
+ } /* Literal.String.Double */
217
+ .se {
218
+ color: #ed9d13;
219
+ } /* Literal.String.Escape */
220
+ .sh {
221
+ color: #ed9d13;
222
+ } /* Literal.String.Heredoc */
223
+ .si {
224
+ color: #ed9d13;
225
+ } /* Literal.String.Interpol */
226
+ .sx {
227
+ color: #ffa500;
228
+ } /* Literal.String.Other */
229
+ .sr {
230
+ color: #ed9d13;
231
+ } /* Literal.String.Regex */
232
+ .s1 {
233
+ color: #ed9d13;
234
+ } /* Literal.String.Single */
235
+ .ss {
236
+ color: #ed9d13;
237
+ } /* Literal.String.Symbol */
238
+ .bp {
239
+ color: #24909d;
240
+ } /* Name.Builtin.Pseudo */
241
+ .fm {
242
+ color: #447fcf;
243
+ } /* Name.Function.Magic */
244
+ .vc {
245
+ color: #40ffff;
246
+ } /* Name.Variable.Class */
247
+ .vg {
248
+ color: #40ffff;
249
+ } /* Name.Variable.Global */
250
+ .vi {
251
+ color: #40ffff;
252
+ } /* Name.Variable.Instance */
253
+ .vm {
254
+ color: #40ffff;
255
+ } /* Name.Variable.Magic */
256
+ .il {
257
+ color: #3677a9;
258
+ } /* Literal.Number.Integer.Long */
259
+ }
data/_sass/_main.scss CHANGED
@@ -1,7 +1,7 @@
1
1
  @charset "utf-8";
2
- @import url('https://fonts.googleapis.com/css?family=Montserrat');
2
+ @import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');
3
3
 
4
- $family-sans-serif: 'Montserrat', sans-serif;
4
+ $family-sans-serif: 'Barlow', sans-serif;
5
5
  $primary: #188eac !default;
6
6
 
7
7
  $tabs-link-active-color: $primary;
data/assets/css/app.scss CHANGED
@@ -2,7 +2,7 @@
2
2
  ---
3
3
 
4
4
  ////////////////////////////////////////////////
5
- // start2impact //
5
+ // Custom Theme //
6
6
  ////////////////////////////////////////////////
7
7
 
8
8
  $orange: #e67e22;
@@ -152,6 +152,6 @@ $panel-heading-background-color: $grey-dark;
152
152
  box-shadow: $shadow-large !important;
153
153
  }
154
154
 
155
- @import "highlight.css";
155
+ @import "highlight";
156
156
 
157
157
  @import "main";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-opentoolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Sinisi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-07-20 00:00:00.000000000 Z
12
+ date: 2021-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -234,9 +234,7 @@ files:
234
234
  - _includes/notification.html
235
235
  - _includes/pagination.html
236
236
  - _includes/post-card.html
237
- - _includes/rating.html
238
- - _includes/review.html
239
- - _includes/share-buttons.html
237
+ - _includes/setup.html
240
238
  - _includes/showcase.html
241
239
  - _includes/sponsors.html
242
240
  - _includes/sub-pages.html
@@ -246,21 +244,19 @@ files:
246
244
  - _includes/toc.html
247
245
  - _includes/vimeo.html
248
246
  - _includes/youtube.html
247
+ - _layouts/base.html
249
248
  - _layouts/blog.html
250
249
  - _layouts/default.html
251
250
  - _layouts/page.html
252
251
  - _layouts/post.html
253
- - _layouts/product-category.html
254
- - _layouts/product.html
255
- - _layouts/recipe.html
256
252
  - _layouts/resource.html
257
253
  - _posts/2021-03-24-hello.md
254
+ - _sass/_highlight.scss
258
255
  - _sass/_layout.scss
259
256
  - _sass/_main.scss
260
257
  - _sass/_showcase.scss
261
258
  - _sass/syntax.scss
262
259
  - assets/css/app.scss
263
- - assets/css/highlight.css
264
260
  - assets/js/app.js
265
261
  - blog/index.html
266
262
  - node_modules/bulma-block-list/LICENSE.txt
@@ -1,14 +0,0 @@
1
-
2
- <div class="content {% if include.align %} {{ include.align }} {% else %} has-text-centered {% endif %}">
3
- {% for num in (1..include.rating) %}
4
- <span class="icon">
5
- <i class="fas fa-star"></i>
6
- </span>
7
- {% endfor %}
8
- {% assign remainder = 5 | minus: include.rating %}
9
- {% for num in (1..remainder) %}
10
- <span class="icon">
11
- <i class="far fa-star"></i>
12
- </span>
13
- {% endfor %}
14
- </div>
@@ -1,27 +0,0 @@
1
- <article class="media">
2
- <figure class="media-left">
3
- {% if review.avatar %}
4
- <p class="image is-48x48">
5
- <img src="https://bulma.io/images/placeholders/128x128.png">
6
- </p>
7
- {% else %}
8
- <div class="icon is-large">
9
- <i class="fas fa-user fa-2x"></i>
10
- </div>
11
- {% endif %}
12
- </figure>
13
- <div class="media-content">
14
- <div class="content">
15
- <p>
16
- <strong>{{ review.name }}</strong> <small>{{ review.date }}</small>
17
- <br>
18
- {{ review.title }}
19
- <br>
20
- {{ review.description }}
21
- </p>
22
- </div>
23
- {% if review.rating %}
24
- {% include rating.html rating=review.rating align="has-text-left" %}
25
- {% endif %}
26
- </div>
27
- </article>
@@ -1,19 +0,0 @@
1
- <p><strong>Share</strong></p>
2
- <div class="buttons {% if include.centered %} is-centered {% endif %}">
3
- <a class="button is-medium is-facebook"
4
- onclick="window.open('https://www.facebook.com/share.php?u={{ site.url }}{{ page.url | prepend: site.baseurl }}');">
5
- <span class="icon"><i class="fab fa-facebook fa-lg"></i></span>
6
- </a>
7
- <a class="button is-medium is-twitter"
8
- onclick="window.open('https://twitter.com/intent/tweet?text={{ site.url }}{{ page.url | prepend: site.baseurl }}');">
9
- <span class="icon"><i class="fab fa-twitter fa-lg"></i></span>
10
- </a>
11
- <a class="button is-medium is-linkedin"
12
- onclick="window.open('https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ page.url | prepend: site.baseurl }}&title={{ page.title | url_encode }}&summary=&source=');">
13
- <span class="icon"><i class="fab fa-linkedin fa-lg"></i></span>
14
- </a>
15
- <a class="button is-medium is-reddit"
16
- onclick="window.open('https://reddit.com/submit?url={{ site.url }}{{ page.url | prepend: site.baseurl }}');">
17
- <span class="icon"><i class="fab fa-reddit fa-lg"></i></span>
18
- </a>
19
- </div>
@@ -1,42 +0,0 @@
1
- ---
2
- layout: default
3
- show_sidebar: false
4
- ---
5
-
6
- <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>
26
- </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 %}
41
- </div>
42
-
@@ -1,61 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <div class="columns is-multiline">
6
-
7
- <div class="column is-6">
8
- <figure class="image is-4by3">
9
- <img src="{{ page.image }}" />
10
- </figure>
11
- </div>
12
-
13
- <div class="column is-6">
14
- <p class="title is-3">{{ page.title }}</p>
15
- <p class="subtitle is-3">{{ page.subtitle }}</p>
16
- <p class="title is-4 has-text-right">{{ page.price }}</p>
17
- {% if page.product_code %}
18
- <p class="subtitle is-5 has-text-right">{{ page.product_code }}</p>
19
- {% endif %}
20
-
21
- {% if page.rating %}
22
- {% include rating.html rating=page.rating %}
23
- {% endif %}
24
-
25
- {% 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>
39
- {% endif %}
40
- </div>
41
-
42
- <div class="column is-12">
43
- <p class="title is-4">Description</p>
44
- <div class="content">
45
-
46
-
47
- {{ content }}
48
- </div>
49
- </div>
50
-
51
- {% 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>
58
- {% endif %}
59
-
60
- </div>
61
-
data/_layouts/recipe.html DELETED
@@ -1,98 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <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 %}
42
- },
43
- {% endif %}
44
- {% endfor %}
45
- ]
46
- }
47
- </script>
48
-
49
- <div class="columns is-multiline">
50
- <div class="column is-4">
51
- <div class="box has-text-centered">
52
- <strong>Serves:</strong> {{ page.recipe_yield }}
53
- </div>
54
- </div>
55
- <div class="column is-4">
56
- <div class="box has-text-centered">
57
- <strong>Prep time:</strong> {{ page.prep_time | date: "%k hours %M minutes" }}
58
- </div>
59
- </div>
60
- <div class="column is-4">
61
- <div class="box has-text-centered">
62
- <strong>Cook time:</strong> {{ page.cook_time | date: "%k hours %M minutes" }}
63
- </div>
64
- </div>
65
- <div class="column is-4">
66
- <div class="box">
67
- <p class="title is-4">Ingredients</p>
68
- <div class="content">
69
- <ul>
70
- {% for ingredient in page.ingredients %}
71
- <li>{{ ingredient }}</li>
72
- {% endfor %}
73
- </ul>
74
- </div>
75
- </div>
76
- </div>
77
- <div class="column is-8">
78
- <p class="title is-4">Method</p>
79
- <div class="content">
80
- <ol>
81
- {% for step in page.method %}
82
- <li>{{ step }}</li>
83
- {% endfor %}
84
- </ol>
85
- <div class="tags">
86
- {% assign tags = page.keywords | split: "," %}
87
- {% for tag in tags %}
88
- {% include tag.html tag=tag %}
89
- {% endfor %}
90
- </div>
91
-
92
- <p>Published: {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
93
- </div>
94
- <div class="content">
95
- {{ content }}
96
- </div>
97
- </div>
98
- </div>
@@ -1,78 +0,0 @@
1
- .highlight .hll { background-color: #404040 }
2
- .highlight { background: #202020; color: #d0d0d0 }
3
- .highlight .c { color: #999999; font-style: italic } /* Comment */
4
- .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
5
- .highlight .esc { color: #d0d0d0 } /* Escape */
6
- .highlight .g { color: #d0d0d0 } /* Generic */
7
- .highlight .k { color: #6ab825; font-weight: bold } /* Keyword */
8
- .highlight .l { color: #d0d0d0 } /* Literal */
9
- .highlight .n { color: #d0d0d0 } /* Name */
10
- .highlight .o { color: #d0d0d0 } /* Operator */
11
- .highlight .x { color: #d0d0d0 } /* Other */
12
- .highlight .p { color: #d0d0d0 } /* Punctuation */
13
- .highlight .ch { color: #999999; font-style: italic } /* Comment.Hashbang */
14
- .highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
15
- .highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
16
- .highlight .cpf { color: #999999; font-style: italic } /* Comment.PreprocFile */
17
- .highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
18
- .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
19
- .highlight .gd { color: #d22323 } /* Generic.Deleted */
20
- .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
21
- .highlight .gr { color: #d22323 } /* Generic.Error */
22
- .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
23
- .highlight .gi { color: #589819 } /* Generic.Inserted */
24
- .highlight .go { color: #cccccc } /* Generic.Output */
25
- .highlight .gp { color: #aaaaaa } /* Generic.Prompt */
26
- .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
27
- .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
28
- .highlight .gt { color: #d22323 } /* Generic.Traceback */
29
- .highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
30
- .highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
31
- .highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
32
- .highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
33
- .highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
34
- .highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
35
- .highlight .ld { color: #d0d0d0 } /* Literal.Date */
36
- .highlight .m { color: #3677a9 } /* Literal.Number */
37
- .highlight .s { color: #ed9d13 } /* Literal.String */
38
- .highlight .na { color: #bbbbbb } /* Name.Attribute */
39
- .highlight .nb { color: #24909d } /* Name.Builtin */
40
- .highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
41
- .highlight .no { color: #40ffff } /* Name.Constant */
42
- .highlight .nd { color: #ffa500 } /* Name.Decorator */
43
- .highlight .ni { color: #d0d0d0 } /* Name.Entity */
44
- .highlight .ne { color: #bbbbbb } /* Name.Exception */
45
- .highlight .nf { color: #447fcf } /* Name.Function */
46
- .highlight .nl { color: #d0d0d0 } /* Name.Label */
47
- .highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
48
- .highlight .nx { color: #d0d0d0 } /* Name.Other */
49
- .highlight .py { color: #d0d0d0 } /* Name.Property */
50
- .highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
51
- .highlight .nv { color: #40ffff } /* Name.Variable */
52
- .highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
53
- .highlight .w { color: #666666 } /* Text.Whitespace */
54
- .highlight .mb { color: #3677a9 } /* Literal.Number.Bin */
55
- .highlight .mf { color: #3677a9 } /* Literal.Number.Float */
56
- .highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
57
- .highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
58
- .highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
59
- .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */
60
- .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */
61
- .highlight .sc { color: #ed9d13 } /* Literal.String.Char */
62
- .highlight .dl { color: #ed9d13 } /* Literal.String.Delimiter */
63
- .highlight .sd { color: #ed9d13 } /* Literal.String.Doc */
64
- .highlight .s2 { color: #ed9d13 } /* Literal.String.Double */
65
- .highlight .se { color: #ed9d13 } /* Literal.String.Escape */
66
- .highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */
67
- .highlight .si { color: #ed9d13 } /* Literal.String.Interpol */
68
- .highlight .sx { color: #ffa500 } /* Literal.String.Other */
69
- .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */
70
- .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */
71
- .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */
72
- .highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
73
- .highlight .fm { color: #447fcf } /* Name.Function.Magic */
74
- .highlight .vc { color: #40ffff } /* Name.Variable.Class */
75
- .highlight .vg { color: #40ffff } /* Name.Variable.Global */
76
- .highlight .vi { color: #40ffff } /* Name.Variable.Instance */
77
- .highlight .vm { color: #40ffff } /* Name.Variable.Magic */
78
- .highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */