jekyll-theme-consulting 0.11.4 → 0.11.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8661222123a8da57f725b1dd99ad58dee1d281cbf80e6875c956c80b12be4a32
4
- data.tar.gz: cb3c0fb2fa8018209fc4cc391cc814ed66cbf139fc60cfb8a724ee2cc6b82834
3
+ metadata.gz: cb80f0d60e62b2a455f0a35663b833cfa678c1a0478960350e8963cf1466048f
4
+ data.tar.gz: 1d6f28fe95b2d29508f600c65e0201bfbed4c4364990b0c799fc17504628b1eb
5
5
  SHA512:
6
- metadata.gz: 8395c3352490009d937a52519ba41459b58e505426229b86b0ef5d5b85bd73996d270b8b40b9e5be8fc0316434e71405b82733787f80ab04efc7cd7593303d99
7
- data.tar.gz: 4e3054abbb4a094aa913d3f1d9f76969c042b8087a3625ed986bd870445f7dec69b264532de40a90722912bacafa7bfb888bb6b97dfc5ff8fd8ed2e328c30244
6
+ metadata.gz: 2e730e36bd5c134ab281910c8e2cf4e21a6a9b185c762a6aa4f902afecfe5e48b0e9cdad45f5be25f5c78ab7d56829198374f2c2bacddcfd5806870937987637
7
+ data.tar.gz: aa97b5a4239f1c3f9d7d83d6daf6df032331de2c06ae15003c96ab1d6a20df90d3f727c8c60e1914f89273376cc27eeb0353076b2f486eeebde9f8b943f869b0
data/.github/LICENSE ADDED
@@ -0,0 +1,437 @@
1
+ Attribution-NonCommercial-ShareAlike 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
58
+ Public License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
63
+ ("Public License"). To the extent this Public License may be
64
+ interpreted as a contract, You are granted the Licensed Rights in
65
+ consideration of Your acceptance of these terms and conditions, and the
66
+ Licensor grants You such rights in consideration of benefits the
67
+ Licensor receives from making the Licensed Material available under
68
+ these terms and conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. BY-NC-SA Compatible License means a license listed at
88
+ creativecommons.org/compatiblelicenses, approved by Creative
89
+ Commons as essentially the equivalent of this Public License.
90
+
91
+ d. Copyright and Similar Rights means copyright and/or similar rights
92
+ closely related to copyright including, without limitation,
93
+ performance, broadcast, sound recording, and Sui Generis Database
94
+ Rights, without regard to how the rights are labeled or
95
+ categorized. For purposes of this Public License, the rights
96
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
97
+ Rights.
98
+
99
+ e. Effective Technological Measures means those measures that, in the
100
+ absence of proper authority, may not be circumvented under laws
101
+ fulfilling obligations under Article 11 of the WIPO Copyright
102
+ Treaty adopted on December 20, 1996, and/or similar international
103
+ agreements.
104
+
105
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
106
+ any other exception or limitation to Copyright and Similar Rights
107
+ that applies to Your use of the Licensed Material.
108
+
109
+ g. License Elements means the license attributes listed in the name
110
+ of a Creative Commons Public License. The License Elements of this
111
+ Public License are Attribution, NonCommercial, and ShareAlike.
112
+
113
+ h. Licensed Material means the artistic or literary work, database,
114
+ or other material to which the Licensor applied this Public
115
+ License.
116
+
117
+ i. Licensed Rights means the rights granted to You subject to the
118
+ terms and conditions of this Public License, which are limited to
119
+ all Copyright and Similar Rights that apply to Your use of the
120
+ Licensed Material and that the Licensor has authority to license.
121
+
122
+ j. Licensor means the individual(s) or entity(ies) granting rights
123
+ under this Public License.
124
+
125
+ k. NonCommercial means not primarily intended for or directed towards
126
+ commercial advantage or monetary compensation. For purposes of
127
+ this Public License, the exchange of the Licensed Material for
128
+ other material subject to Copyright and Similar Rights by digital
129
+ file-sharing or similar means is NonCommercial provided there is
130
+ no payment of monetary compensation in connection with the
131
+ exchange.
132
+
133
+ l. Share means to provide material to the public by any means or
134
+ process that requires permission under the Licensed Rights, such
135
+ as reproduction, public display, public performance, distribution,
136
+ dissemination, communication, or importation, and to make material
137
+ available to the public including in ways that members of the
138
+ public may access the material from a place and at a time
139
+ individually chosen by them.
140
+
141
+ m. Sui Generis Database Rights means rights other than copyright
142
+ resulting from Directive 96/9/EC of the European Parliament and of
143
+ the Council of 11 March 1996 on the legal protection of databases,
144
+ as amended and/or succeeded, as well as other essentially
145
+ equivalent rights anywhere in the world.
146
+
147
+ n. You means the individual or entity exercising the Licensed Rights
148
+ under this Public License. Your has a corresponding meaning.
149
+
150
+
151
+ Section 2 -- Scope.
152
+
153
+ a. License grant.
154
+
155
+ 1. Subject to the terms and conditions of this Public License,
156
+ the Licensor hereby grants You a worldwide, royalty-free,
157
+ non-sublicensable, non-exclusive, irrevocable license to
158
+ exercise the Licensed Rights in the Licensed Material to:
159
+
160
+ a. reproduce and Share the Licensed Material, in whole or
161
+ in part, for NonCommercial purposes only; and
162
+
163
+ b. produce, reproduce, and Share Adapted Material for
164
+ NonCommercial purposes only.
165
+
166
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
167
+ Exceptions and Limitations apply to Your use, this Public
168
+ License does not apply, and You do not need to comply with
169
+ its terms and conditions.
170
+
171
+ 3. Term. The term of this Public License is specified in Section
172
+ 6(a).
173
+
174
+ 4. Media and formats; technical modifications allowed. The
175
+ Licensor authorizes You to exercise the Licensed Rights in
176
+ all media and formats whether now known or hereafter created,
177
+ and to make technical modifications necessary to do so. The
178
+ Licensor waives and/or agrees not to assert any right or
179
+ authority to forbid You from making technical modifications
180
+ necessary to exercise the Licensed Rights, including
181
+ technical modifications necessary to circumvent Effective
182
+ Technological Measures. For purposes of this Public License,
183
+ simply making modifications authorized by this Section 2(a)
184
+ (4) never produces Adapted Material.
185
+
186
+ 5. Downstream recipients.
187
+
188
+ a. Offer from the Licensor -- Licensed Material. Every
189
+ recipient of the Licensed Material automatically
190
+ receives an offer from the Licensor to exercise the
191
+ Licensed Rights under the terms and conditions of this
192
+ Public License.
193
+
194
+ b. Additional offer from the Licensor -- Adapted Material.
195
+ Every recipient of Adapted Material from You
196
+ automatically receives an offer from the Licensor to
197
+ exercise the Licensed Rights in the Adapted Material
198
+ under the conditions of the Adapter's License You apply.
199
+
200
+ c. No downstream restrictions. You may not offer or impose
201
+ any additional or different terms or conditions on, or
202
+ apply any Effective Technological Measures to, the
203
+ Licensed Material if doing so restricts exercise of the
204
+ Licensed Rights by any recipient of the Licensed
205
+ Material.
206
+
207
+ 6. No endorsement. Nothing in this Public License constitutes or
208
+ may be construed as permission to assert or imply that You
209
+ are, or that Your use of the Licensed Material is, connected
210
+ with, or sponsored, endorsed, or granted official status by,
211
+ the Licensor or others designated to receive attribution as
212
+ provided in Section 3(a)(1)(A)(i).
213
+
214
+ b. Other rights.
215
+
216
+ 1. Moral rights, such as the right of integrity, are not
217
+ licensed under this Public License, nor are publicity,
218
+ privacy, and/or other similar personality rights; however, to
219
+ the extent possible, the Licensor waives and/or agrees not to
220
+ assert any such rights held by the Licensor to the limited
221
+ extent necessary to allow You to exercise the Licensed
222
+ Rights, but not otherwise.
223
+
224
+ 2. Patent and trademark rights are not licensed under this
225
+ Public License.
226
+
227
+ 3. To the extent possible, the Licensor waives any right to
228
+ collect royalties from You for the exercise of the Licensed
229
+ Rights, whether directly or through a collecting society
230
+ under any voluntary or waivable statutory or compulsory
231
+ licensing scheme. In all other cases the Licensor expressly
232
+ reserves any right to collect such royalties, including when
233
+ the Licensed Material is used other than for NonCommercial
234
+ purposes.
235
+
236
+
237
+ Section 3 -- License Conditions.
238
+
239
+ Your exercise of the Licensed Rights is expressly made subject to the
240
+ following conditions.
241
+
242
+ a. Attribution.
243
+
244
+ 1. If You Share the Licensed Material (including in modified
245
+ form), You must:
246
+
247
+ a. retain the following if it is supplied by the Licensor
248
+ with the Licensed Material:
249
+
250
+ i. identification of the creator(s) of the Licensed
251
+ Material and any others designated to receive
252
+ attribution, in any reasonable manner requested by
253
+ the Licensor (including by pseudonym if
254
+ designated);
255
+
256
+ ii. a copyright notice;
257
+
258
+ iii. a notice that refers to this Public License;
259
+
260
+ iv. a notice that refers to the disclaimer of
261
+ warranties;
262
+
263
+ v. a URI or hyperlink to the Licensed Material to the
264
+ extent reasonably practicable;
265
+
266
+ b. indicate if You modified the Licensed Material and
267
+ retain an indication of any previous modifications; and
268
+
269
+ c. indicate the Licensed Material is licensed under this
270
+ Public License, and include the text of, or the URI or
271
+ hyperlink to, this Public License.
272
+
273
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
274
+ reasonable manner based on the medium, means, and context in
275
+ which You Share the Licensed Material. For example, it may be
276
+ reasonable to satisfy the conditions by providing a URI or
277
+ hyperlink to a resource that includes the required
278
+ information.
279
+ 3. If requested by the Licensor, You must remove any of the
280
+ information required by Section 3(a)(1)(A) to the extent
281
+ reasonably practicable.
282
+
283
+ b. ShareAlike.
284
+
285
+ In addition to the conditions in Section 3(a), if You Share
286
+ Adapted Material You produce, the following conditions also apply.
287
+
288
+ 1. The Adapter's License You apply must be a Creative Commons
289
+ license with the same License Elements, this version or
290
+ later, or a BY-NC-SA Compatible License.
291
+
292
+ 2. You must include the text of, or the URI or hyperlink to, the
293
+ Adapter's License You apply. You may satisfy this condition
294
+ in any reasonable manner based on the medium, means, and
295
+ context in which You Share Adapted Material.
296
+
297
+ 3. You may not offer or impose any additional or different terms
298
+ or conditions on, or apply any Effective Technological
299
+ Measures to, Adapted Material that restrict exercise of the
300
+ rights granted under the Adapter's License You apply.
301
+
302
+
303
+ Section 4 -- Sui Generis Database Rights.
304
+
305
+ Where the Licensed Rights include Sui Generis Database Rights that
306
+ apply to Your use of the Licensed Material:
307
+
308
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
309
+ to extract, reuse, reproduce, and Share all or a substantial
310
+ portion of the contents of the database for NonCommercial purposes
311
+ only;
312
+
313
+ b. if You include all or a substantial portion of the database
314
+ contents in a database in which You have Sui Generis Database
315
+ Rights, then the database in which You have Sui Generis Database
316
+ Rights (but not its individual contents) is Adapted Material,
317
+ including for purposes of Section 3(b); and
318
+
319
+ c. You must comply with the conditions in Section 3(a) if You Share
320
+ all or a substantial portion of the contents of the database.
321
+
322
+ For the avoidance of doubt, this Section 4 supplements and does not
323
+ replace Your obligations under this Public License where the Licensed
324
+ Rights include other Copyright and Similar Rights.
325
+
326
+
327
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
328
+
329
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
330
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
331
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
332
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
333
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
334
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
335
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
336
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
337
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
338
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
339
+
340
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
341
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
342
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
343
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
344
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
345
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
346
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
347
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
348
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
349
+
350
+ c. The disclaimer of warranties and limitation of liability provided
351
+ above shall be interpreted in a manner that, to the extent
352
+ possible, most closely approximates an absolute disclaimer and
353
+ waiver of all liability.
354
+
355
+
356
+ Section 6 -- Term and Termination.
357
+
358
+ a. This Public License applies for the term of the Copyright and
359
+ Similar Rights licensed here. However, if You fail to comply with
360
+ this Public License, then Your rights under this Public License
361
+ terminate automatically.
362
+
363
+ b. Where Your right to use the Licensed Material has terminated under
364
+ Section 6(a), it reinstates:
365
+
366
+ 1. automatically as of the date the violation is cured, provided
367
+ it is cured within 30 days of Your discovery of the
368
+ violation; or
369
+
370
+ 2. upon express reinstatement by the Licensor.
371
+
372
+ For the avoidance of doubt, this Section 6(b) does not affect any
373
+ right the Licensor may have to seek remedies for Your violations
374
+ of this Public License.
375
+
376
+ c. For the avoidance of doubt, the Licensor may also offer the
377
+ Licensed Material under separate terms or conditions or stop
378
+ distributing the Licensed Material at any time; however, doing so
379
+ will not terminate this Public License.
380
+
381
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
382
+ License.
383
+
384
+
385
+ Section 7 -- Other Terms and Conditions.
386
+
387
+ a. The Licensor shall not be bound by any additional or different
388
+ terms or conditions communicated by You unless expressly agreed.
389
+
390
+ b. Any arrangements, understandings, or agreements regarding the
391
+ Licensed Material not stated herein are separate from and
392
+ independent of the terms and conditions of this Public License.
393
+
394
+
395
+ Section 8 -- Interpretation.
396
+
397
+ a. For the avoidance of doubt, this Public License does not, and
398
+ shall not be interpreted to, reduce, limit, restrict, or impose
399
+ conditions on any use of the Licensed Material that could lawfully
400
+ be made without permission under this Public License.
401
+
402
+ b. To the extent possible, if any provision of this Public License is
403
+ deemed unenforceable, it shall be automatically reformed to the
404
+ minimum extent necessary to make it enforceable. If the provision
405
+ cannot be reformed, it shall be severed from this Public License
406
+ without affecting the enforceability of the remaining terms and
407
+ conditions.
408
+
409
+ c. No term or condition of this Public License will be waived and no
410
+ failure to comply consented to unless expressly agreed to by the
411
+ Licensor.
412
+
413
+ d. Nothing in this Public License constitutes or may be interpreted
414
+ as a limitation upon, or waiver of, any privileges and immunities
415
+ that apply to the Licensor or You, including from the legal
416
+ processes of any jurisdiction or authority.
417
+
418
+ =======================================================================
419
+
420
+ Creative Commons is not a party to its public
421
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
422
+ its public licenses to material it publishes and in those instances
423
+ will be considered the “Licensor.” The text of the Creative Commons
424
+ public licenses is dedicated to the public domain under the CC0 Public
425
+ Domain Dedication. Except for the limited purpose of indicating that
426
+ material is shared under a Creative Commons public license or as
427
+ otherwise permitted by the Creative Commons policies published at
428
+ creativecommons.org/policies, Creative Commons does not authorize the
429
+ use of the trademark "Creative Commons" or any other trademark or logo
430
+ of Creative Commons without its prior written consent including,
431
+ without limitation, in connection with any unauthorized modifications
432
+ to any of its public licenses or any other arrangements,
433
+ understandings, or agreements concerning use of licensed material. For
434
+ the avoidance of doubt, this paragraph does not form part of the
435
+ public licenses.
436
+
437
+ Creative Commons may be contacted at creativecommons.org.
data/.github/README.md ADDED
@@ -0,0 +1,222 @@
1
+ # Consulting - Jekyll theme
2
+
3
+ > A sober, hassle-free, jekyll template for businesses.
4
+
5
+ You can preview the theme [here](https://moodule.github.io/jekyll-theme-consulting)
6
+
7
+ ![Consulting Theme](../assets/images/screenshot.webp "Consulting Theme")
8
+
9
+ # Features
10
+
11
+ > **Responsive**: out of the box support for all screen sizes, be it smartphones, laptops, tablets...
12
+
13
+ > **Multilingual**: easily manage pages, menu, url, dates, sitemap in several languages
14
+
15
+ > **Customizable**: theme colors, menu, social items can be changed from a central config file
16
+
17
+ > **Many Widgets**: tabs, mini-posts, spotlight, feature listings, and more can be easily inserted without worrying about their internals
18
+
19
+ > **Many templates**: contact forms, navigation menus, and others can be easily inserted thanks to custom Jekyll includes
20
+
21
+ > **Vector images**: the theme images are vectorized, render smoothly on any display and can be dynamically styled
22
+
23
+ > **GDPR ready**: bundled with a cookie consent plugin and a boilerplate privacy policy compliant with GDPR
24
+
25
+ > **SEO ready**: sitemap, robots.txt and tags are automatically generated for the website
26
+
27
+ > **Light**: svg images, thumbs and lazy loading for raster images, few libraries
28
+
29
+ > **Performant**: parallel loading & execution of assets, support lazy-loading, minified assets, compressed critical path
30
+
31
+ > **Hardened**: form validation, recaptcha, verified libraries
32
+
33
+ # Installation
34
+
35
+ Add this line to your Jekyll site's `Gemfile`:
36
+
37
+ ```ruby
38
+ gem "jekyll-theme-consulting"
39
+ ```
40
+
41
+ And add this line to your Jekyll site's `_config.yml`:
42
+
43
+ ```yaml
44
+ theme: jekyll-theme-consulting
45
+ ```
46
+
47
+ And then execute:
48
+
49
+ $ bundle
50
+
51
+ Or install it yourself as:
52
+
53
+ $ gem install jekyll-theme-consulting
54
+
55
+ # Usage
56
+
57
+ For those unfamiliar with how Jekyll works, check out [jekyllrb.com](https://jekyllrb.com/) for all the details,
58
+ or read up on just the basics of [front matter](https://jekyllrb.com/docs/frontmatter/), [writing posts](https://jekyllrb.com/docs/posts/),
59
+ and [creating pages](https://jekyllrb.com/docs/pages/).
60
+
61
+ ## Initialization
62
+
63
+ Copy the file `_config.yml` from the theme repository to the root of your website folder tree.
64
+ The following section explains what the settings impact and how to configure `_config.yml` properly.
65
+
66
+ ## Configuration
67
+
68
+ You can use the following custom parameters in `_config.yml`.
69
+
70
+ ### Site
71
+ Both `title` and `subtitle` are displayed side by side :
72
+ - in the tab name
73
+ - at the top of the page, in the header
74
+
75
+ ### Social
76
+ Social icons will appear for each url your fill in, among `facebook_url` etc.
77
+
78
+ ### Contact
79
+ Your contact information can be used in contact forms, the footer or anywhere else.
80
+
81
+ ### Recaptcha
82
+
83
+ The contact form is validated using [google's recaptcha plugin][recaptcha-documentation].
84
+ First, you need to [sign your website up] to enable the plugin.
85
+ Google will provide you with a **client-side integration key**: copy it to `_config.yml` under `recaptcha.sitekey`.
86
+
87
+ ## Images
88
+
89
+ ### Lazy-Loading
90
+
91
+ Images downloading & rendering can be defered until they enter the viewport.
92
+ This shortens the loading of the webpage, with no consequence on the displayed content since the images are off-screen.
93
+
94
+ There are 2 possibilities:
95
+ 1) using the scripts bundled with the gem
96
+ 2) depending on the browser
97
+
98
+ Browser support for lazy-loading is varying, so it is recommanded to opt for the first solution.
99
+
100
+ #### Using the gem functionality
101
+
102
+ - add `class="lazy-loading"`
103
+ - fill the attribute `src` with the path to the placeholder file
104
+ - fill the attribute `data-src` with the path to the content file
105
+
106
+ Before:
107
+ ```html
108
+ <img src="{{ 'assets/images/content.jpg' | absolute_url }}" />
109
+ ```
110
+
111
+ After:
112
+ ```html
113
+ <img class="lazy-loading" src="{{ 'assets/images/placeholder.jpg' | absolute_url }}" data-src="{{ 'assets/images/content.jpg' | absolute_url }}" />
114
+ ```
115
+
116
+ #### Using the browser functionality
117
+
118
+ - add `loading="lazy"`
119
+
120
+ Before:
121
+ ```html
122
+ <img src="{{ 'assets/images/content.jpg' | absolute_url }}" />
123
+ ```
124
+
125
+ After:
126
+ ```html
127
+ <img loading="lazy" src="{{ 'assets/images/content.jpg' | absolute_url }}" />
128
+ ```
129
+
130
+ > This functionality is not supported by all the browsers!
131
+
132
+ ### Compression and file formats
133
+
134
+ It is recommanded to use the `webp` format.
135
+
136
+ At a given dimension and compression level (quality) the webp files are at least half the size with a smoother feel.
137
+
138
+ ## Publication
139
+
140
+ ### On Github Pages
141
+
142
+ In your own website's repository, edit the `_config.yml` file:
143
+
144
+ ```yaml
145
+ url: "https://<github-account-name>.github.io/<repository-name>"
146
+ ```
147
+
148
+ Build the website with:
149
+
150
+ $ JEKYLL_ENV=production bundle exec jekyll build
151
+
152
+ Commit all your work to the current branch.
153
+
154
+ Create a branch named `gh-pages`:
155
+
156
+ $ git checkout -b gh-pages
157
+
158
+ And finally replace the repository's content with the generated webpages:
159
+
160
+ $ mkdir ~/backup
161
+ $ mv ./* ~/backup/
162
+ $ mv ~/backup/.git ./
163
+ $ mv ~/backup/_site/* ./
164
+ $ git add .
165
+ $ git commit -m "First draft"
166
+
167
+ The repository's content is backup in the home directory of the user.
168
+
169
+ And finally push to github
170
+
171
+ $ git push --u origin gh-pages
172
+
173
+ ### On any server
174
+
175
+ In your own website's directory, edit the `_config.yml` file:
176
+
177
+ ```yaml
178
+ url: "https:<domain-name>"
179
+ ```
180
+
181
+ Build the website with:
182
+
183
+ $ JEKYLL_ENV=production bundle exec jekyll build
184
+
185
+ Copy the content of the folder `_site` to your server, most likely in `www`.
186
+
187
+ If necessary, configure your server to serve this directory.
188
+
189
+ # Contributing
190
+
191
+ Bug reports and pull requests are welcome on GitHub at https://github.com/moodule/jekyll-theme-consulting. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant][contributor-covenant] code of conduct.
192
+
193
+ # Development
194
+
195
+ To set up your environment to develop this theme, run `bundle install`.
196
+
197
+ To test the theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using the theme. Add pages, documents, data, etc. like normal to test the theme's contents. As you make modifications to the theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
198
+
199
+ When the theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
200
+ To add a custom directory to the theme-gem, please edit the regexp in `jekyll-theme-consulting.gemspec` accordingly.
201
+
202
+ # Credits
203
+
204
+ Inspired by the work of [@ajlkn][ajlkn].
205
+
206
+ Uses the basic template from the [cookie consent plugin][cookieconsent].
207
+
208
+ Uses the [simple Jekyll search plugin][simple-jekyll-search].
209
+
210
+ Space image in the banner: the Pillars of Creation, courtesy of NASA.
211
+
212
+ ## License
213
+
214
+ The theme is available as open source under the terms of the [CC-BY-NC-SA-4.0](LICENSE).
215
+
216
+ [ajlkn]: https://aj.lkn.io/
217
+ [contributor-covenant]: http://contributor-covenant.org
218
+ [cookieconsent]: https://github.com/osano/cookieconsent
219
+ [html5up]: https://html5up.net/
220
+ [recaptcha-documentation]: https://developers.google.com/recaptcha/intro
221
+ [recaptcha-registering]: https://www.google.com/recaptcha/admin
222
+ [simple-jekyll-search]: https://github.com/christian-fei/Simple-Jekyll-Search
data/404.md ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: 404
3
+ lang-ref: 404-page
4
+ title: Error 404
5
+ permalink: /404.html
6
+ ---
7
+
@@ -1,11 +1,5 @@
1
1
  <!-- Banner -->
2
- <section id="banner"
3
- {% if include.style.class %}class="{{ include.style.class | default: '' }}"{% endif %}
4
- {% if include.style.image %}style="
5
- background-image: url({{ 'assets/css/images/split.curve.svg' | absolute_url }}), url({{ include.style.image.url | absolute_url }});
6
- background-position: {{ include.style.image.position | default: 'right' }} -5em, {{ include.style.image.position | default: 'right' }} -5em;
7
- background-size: {{ include.style.image.size | default: 'auto 100vh' }}, {{ include.style.image.size | default: 'auto 100vh' }};"
8
- {% endif %}>
2
+ <section id="banner" class="{{ include.class | default: '' }}">
9
3
  <div class="content">
10
4
  <header>
11
5
  <h1>{{ include.title }}</h1>
@@ -0,0 +1,15 @@
1
+ {%- assign class = include.background.class | default: header.class | default: banner.class | default: '' -%}
2
+
3
+ <div id="header-background" class="{{ class | default: '' }}"
4
+ {% if include.background.image %}style="
5
+ background-image: url({{ 'assets/css/images/split.curve.wide.svg' | absolute_url }}), url({{ include.background.image.url | absolute_url }});
6
+ background-position: center top, {{ include.background.image.position | default: 'right' }} top;
7
+ background-size: cover, {{ include.background.image.size | default: '66% 100%' }};"
8
+ {% endif %}>
9
+ {%- if include.header -%}
10
+ {% include header.html title=header.title subtitle=header.subtitle class=class %}
11
+ {%- endif -%}
12
+ {%- if include.banner -%}
13
+ {% include banner.html title=banner.title subtitle=banner.subtitle description=banner.description button=banner.button class=class %}
14
+ {%- endif -%}
15
+ </div>
@@ -1,11 +1,5 @@
1
1
  <!-- Header -->
2
- <header id="header"
3
- {% if include.style.class %}class="{{ include.style.class | default: '' }}"{% endif %}
4
- {% if include.style.image %}style="
5
- background-image: url({{ 'assets/css/images/split.curve.svg' | absolute_url }}), url({{ include.style.image.url | absolute_url }});
6
- background-position: {{ include.style.image.position | default: 'right' }} top, {{ include.style.image.position | default: 'right' }} top;
7
- background-size: {{ include.style.image.size | default: 'auto 100vh' }}, {{ include.style.image.size | default: 'auto 100vh' }};"
8
- {% endif %}>
2
+ <header id="header" class="{{ include.class | default: '' }}">
9
3
  <a href="{{ '' | absolute_url }}" class="logo">
10
4
  <span class="title">
11
5
  <strong>{{ include.title }}</strong>
data/_layouts/404.html ADDED
@@ -0,0 +1,39 @@
1
+ ---
2
+ layout: home
3
+ lang-ref: 404-page
4
+ title: Error 404
5
+ permalink: /404.html
6
+ header:
7
+ title: 404
8
+ subtitle: Error
9
+ style:
10
+ class: inverted
11
+ image:
12
+ url: /assets/css/images/pillars-of-creation.webp
13
+ position: right
14
+ size: auto 100vh
15
+ banner:
16
+ title: "Page not found"
17
+ description: >-
18
+ Looking for more?
19
+ style:
20
+ class: inverted
21
+ image:
22
+ url: "/assets/css/images/pillars-of-creation.webp"
23
+ position: right
24
+ size: auto 100vh
25
+ button:
26
+ url: "#contact"
27
+ label: "Contact me :)"
28
+ ---
29
+ <!-- Section -->
30
+ <section>
31
+ <header class="major">
32
+ <h2>Getting back to the main website</h2>
33
+ </header>
34
+ <p>All the pages of the website are listed in the navigation menu.</p>
35
+ <p>You can access it by clicking the ||| icon in the top left corner of your screen.</p>
36
+ </section>
37
+
38
+
39
+ {% include contact.html %}
@@ -1,12 +1,11 @@
1
1
  ---
2
2
  ---
3
- {%- assign lang = page.lang | default: site.lang | default: 'en' -%}
3
+ {%- assign lang = page.lang | default: layout.lang | default: site.lang | default: 'en' -%}
4
4
  {%- assign menu = site.data.menus[page.menu][lang] -%}
5
- {%- assign header = page.header | default: site.header -%}
6
- {%- assign title = page.title | default: site.title -%}
7
- {%- assign description = page.description | default: site.description -%}
8
- {%- assign stylesheets = page.stylesheets | default: site.stylesheets -%}
9
- {%- assign scripts = page.scripts | default: site.scripts -%}
5
+ {%- assign title = page.title | default: layout.title | default: site.title -%}
6
+ {%- assign description = page.description | default: layout.description | default: site.description -%}
7
+ {%- assign stylesheets = page.stylesheets | default: layout.stylesheets | default: site.stylesheets -%}
8
+ {%- assign scripts = page.scripts | default: layout.scripts | default: site.scripts -%}
10
9
  <!DOCTYPE html>
11
10
  <!--
12
11
  Consulting template by MOODULE
@@ -26,8 +25,6 @@
26
25
  <div id="main">
27
26
  <div class="inner">
28
27
 
29
- {% include header.html title=header.title subtitle=header.subtitle style=header.style %}
30
-
31
28
  {{ content }}
32
29
 
33
30
  </div>
data/_layouts/home.html CHANGED
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {%- assign banner = page.banner | default: site.banner -%}
5
- {%- assign title = banner.title | default: page.title | default: site.title -%}
6
- {%- assign subtitle = banner.subtitle | default: page.subtitle | default: site.subtitle -%}
7
- {%- assign description = banner.description | default: page.description | default: site.description -%}
8
- {% include banner.html title=title subtitle=subtitle description=description button=banner.button style=banner.style %}
4
+ {%- assign header = page.header | default: layout.header | default: site.header -%}
5
+ {%- assign banner = page.banner | default: layout.banner | default: site.banner -%}
6
+ {%- assign background = page.background | default: layout.background | default: site.background -%}
7
+
8
+ {% include front.html header=header banner=banner background=background %}
9
9
  {{ content }}
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  ---
3
- {%- assign lang = page.lang | default: site.lang | default: 'en' -%}
3
+ {%- assign lang = page.lang | default: layout.lang | default: site.lang | default: 'en' -%}
4
4
  {%- assign menu = site.data.menus[page.menu][lang] -%}
5
- {%- assign title = page.title | default: site.title -%}
6
- {%- assign description = page.description | default: site.description -%}
7
- {%- assign stylesheets = page.stylesheets | default: site.stylesheets -%}
8
- {%- assign scripts = page.scripts | default: site.scripts -%}
5
+ {%- assign title = page.title | default: layout.title | default: site.title -%}
6
+ {%- assign description = page.description | default: layout.description | default: site.description -%}
7
+ {%- assign stylesheets = page.stylesheets | default: layout.stylesheets | default: site.stylesheets -%}
8
+ {%- assign scripts = page.scripts | default: layout.scripts | default: site.scripts -%}
9
9
  <!DOCTYPE html>
10
10
  <!--
11
11
  Consulting template by MOODULE
data/_layouts/page.html CHANGED
@@ -1,4 +1,8 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ {%- assign header = page.header | default: layout.header | default: site.header -%}
5
+ {%- assign background = page.background | default: layout.background | default: site.background -%}
6
+
7
+ {% include front.html header=header background=background %}
4
8
  {{ content }}
data/_layouts/post.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: default
2
+ layout: page
3
3
  ---
4
4
  <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
5
 
@@ -3,9 +3,6 @@
3
3
  #banner {
4
4
  @include padding(6em, 0);
5
5
  @include vendor('display', 'flex');
6
- background-size: 100% auto;
7
- background-position: center -5em;
8
- background-repeat: no-repeat;
9
6
 
10
7
  h1 {
11
8
  margin-top: -0.125em;
@@ -38,6 +35,10 @@
38
35
  }
39
36
  }
40
37
 
38
+ header p {
39
+ text-transform: none !important;
40
+ }
41
+
41
42
  @include orientation(portrait) {
42
43
  @include vendor('flex-direction', 'column-reverse');
43
44
 
@@ -64,3 +65,9 @@
64
65
  }
65
66
  }
66
67
  }
68
+
69
+ /* Inverted */
70
+
71
+ section#banner.inverted {
72
+ background-color: transparent !important;
73
+ }
@@ -1,12 +1,15 @@
1
1
  /* Header */
2
2
 
3
+ #header-background {
4
+ background-size: cover, 70% 100%;
5
+ background-position: center top, right top;
6
+ background-repeat: no-repeat, no-repeat;
7
+ }
8
+
3
9
  #header {
4
10
  @include vendor('display', 'flex');
5
11
  border-bottom: solid 5px _palette(accent);
6
12
  position: relative;
7
- background-size: 100% auto;
8
- background-position: center top;
9
- background-repeat: no-repeat;
10
13
 
11
14
  > * {
12
15
  margin-bottom: 0;
@@ -27,6 +30,9 @@
27
30
  /* Inverted */
28
31
 
29
32
  #header.inverted {
30
- background-color: _palette(bg-alt-inverted);
31
33
  border-bottom: solid 5px _palette(accent-inverted);
32
34
  }
35
+
36
+ #header-background.inverted {
37
+ background-color: _palette(bg-alt-inverted);
38
+ }
@@ -9,7 +9,7 @@
9
9
  margin: 0 auto;
10
10
  max-width: 110em;
11
11
 
12
- > section {
12
+ section {
13
13
  border-top: solid 2px _palette(border);
14
14
  padding: 1em 1em 1em 4em;
15
15
 
@@ -116,7 +116,7 @@
116
116
  color: inherit;
117
117
 
118
118
  &:hover {
119
- color: _palette(accent-inverted);
119
+ color: _palette(accent-cp);
120
120
  }
121
121
 
122
122
  &.opener {
@@ -126,7 +126,7 @@
126
126
 
127
127
  &:hover {
128
128
  &:before {
129
- color: _palette(accent-inverted);
129
+ color: _palette(accent-cp);
130
130
  }
131
131
  }
132
132
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 0.11.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moodule
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-22 00:00:00.000000000 Z
11
+ date: 2021-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -73,6 +73,9 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".github/LICENSE"
77
+ - ".github/README.md"
78
+ - 404.md
76
79
  - _includes/banner.html
77
80
  - _includes/contact.html
78
81
  - _includes/contact_client_script.html
@@ -81,6 +84,7 @@ files:
81
84
  - _includes/fact.html
82
85
  - _includes/feature.html
83
86
  - _includes/footer.html
87
+ - _includes/front.html
84
88
  - _includes/head.html
85
89
  - _includes/header.html
86
90
  - _includes/language.html
@@ -96,6 +100,7 @@ files:
96
100
  - _includes/toggle.html
97
101
  - _includes/waves/bottom.html
98
102
  - _includes/waves/top.html
103
+ - _layouts/404.html
99
104
  - _layouts/contact.html
100
105
  - _layouts/default.html
101
106
  - _layouts/home.html
@@ -246,6 +251,7 @@ files:
246
251
  - assets/css/images/ifag.svg
247
252
  - assets/css/images/ifg.svg
248
253
  - assets/css/images/marine.svg
254
+ - assets/css/images/pillars-of-creation.webp
249
255
  - assets/css/images/split.curve.svg
250
256
  - assets/css/images/split.curve.wide.svg
251
257
  - assets/css/images/ub.svg
@@ -308,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
308
314
  - !ruby/object:Gem::Version
309
315
  version: '0'
310
316
  requirements: []
311
- rubygems_version: 3.2.7
317
+ rubygems_version: 3.2.13
312
318
  signing_key:
313
319
  specification_version: 4
314
320
  summary: A sober, hassle-free, full-featured, Jekyll template for businesses.