bulma-clean-theme 0.5.6 → 0.5.7

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
  SHA1:
3
- metadata.gz: c2866ad24c9fd3246a8c5f5fc678cfee8f539f8c
4
- data.tar.gz: d29857874854ec47d33973fc8551befa9e22193f
3
+ metadata.gz: 4335d8b6a8d652079788478438805fd03081572d
4
+ data.tar.gz: 3fbe6b6916d8ac0ed98141b98a92c8bb6e2ca7fc
5
5
  SHA512:
6
- metadata.gz: 61b4747afe16485dae385662eec74a8130c48881a0665fe4a6a111aedd22bd73f28b3a3cbbd1a4e004b1fc98e97639983e3fad29acea319dbc7f56b32fd34188
7
- data.tar.gz: b0c235cc7297afccd1f06d6b3c197cf224117ba14d2c84b7a66b15c6ebe0d70bba899e28f7b7570183a1accc0b50f3a91d304a9246c680522fc335c0430644e6
6
+ metadata.gz: bd6135733dea3ab2b66e36eef39944430dcf64c2e218a9f08a7c13a41a00d2b0c68b0a27db2000e0682ae51ad26b3ce4d9b426e1484591b09ac7405d4e70ef38
7
+ data.tar.gz: e6827ebf74c9f8bb6b45d798f18fb3a1beae2632fa3d634a2faa51b0d0fc9714a03e79ecdaafa6abd245e1fb192bbb13a1a6aa659635b46dddb5b85a4956a6cf
data/README.md CHANGED
@@ -62,6 +62,9 @@ You can also set the height of the hero by providing a bulma hero height class i
62
62
  **New in 0.5.4**
63
63
  If you would like to add a call to action button in the hero then add `hero_link` and `hero_link_text` to the page's frontmatter.
64
64
 
65
+ **New in 0.5.7**
66
+ If you would like to hide the hero, you can set `hide_hero: true` in the page's frontmatter.
67
+
65
68
  ### Posts
66
69
 
67
70
  If you want posts, create a `_posts` directory to store your posts as per normal Jekyll usage, with the `layout: post`. Next create a `blog` directory with an index.html file that has `layout: blog`
@@ -113,7 +116,7 @@ If you want to show the sidebar with latest posts then set `show_sidebar: true`
113
116
 
114
117
  The menubar gets its content from a data file in your site's `_data` directory. Simply set the name of your data file in the page's menubar setting in the frontmatter.
115
118
 
116
- ```yml
119
+ ```yaml
117
120
  show_sidebar: false
118
121
  menubar: example_menu
119
122
  ```
@@ -124,7 +127,7 @@ You will probably want to disable the show_sidebar otherwise there will be littl
124
127
 
125
128
  Create a data file in the _data directory and use the following format (if using yml)
126
129
 
127
- ```yml
130
+ ```yaml
128
131
  - label: Example Menu
129
132
  items:
130
133
  - name: Home
@@ -148,7 +151,7 @@ For the current page to have an active class, ensure the `link:` format matches
148
151
 
149
152
  You may make multiple menus in the same file, separated by the label
150
153
 
151
- ```yml
154
+ ```yaml
152
155
  - label: Menu Label
153
156
  items:
154
157
  - name: Example item
@@ -174,7 +177,7 @@ You may make multiple menus in the same file, separated by the label
174
177
 
175
178
  The tabs gets its content from a data file in your site's `_data` directory. Simply set the name of your data file in the page's menubar setting in the frontmatter.
176
179
 
177
- ```yml
180
+ ```yaml
178
181
  title: Page with tabs
179
182
  subtitle: Demo page with tabs
180
183
  layout: page
@@ -189,7 +192,7 @@ Tabs can be used in conjunction with menubar and/or sidebar if you wish.
189
192
 
190
193
  Create a data file in the _data directory and use the following format (if using yml)
191
194
 
192
- ```yml
195
+ ```yaml
193
196
  alignment: is-left
194
197
  style: is-boxed
195
198
  size: is-large
@@ -235,7 +238,7 @@ To enable Google Analytics add `google_analytics: UA-xxxxxxxx` to your `_config.
235
238
 
236
239
  To add some footer links, create a yaml file in the `_data` directory using the following format
237
240
 
238
- ```yml
241
+ ```yaml
239
242
  - name: Blog
240
243
  link: /blog/
241
244
  - name: About
@@ -246,7 +249,7 @@ To add some footer links, create a yaml file in the `_data` directory using the
246
249
 
247
250
  Then add the name of your yaml file (without the .yml extension) into the footer_menu setting in the `_config.yml`
248
251
 
249
- ```yml
252
+ ```yaml
250
253
  footer_menu: example_footer_menu
251
254
  ```
252
255
 
@@ -266,8 +269,7 @@ Now you can add simple product pages to your site using collections.
266
269
 
267
270
  Start by creating a `_products` directory to hold your product pages and create a new page for each product, such as `product1.md`. In the front matter for this page you can set the standard settings, such as your title, subtitle, description (for meta-description), hero_image, as well as the additional product settings such as price, product_code, image, features and rating.
268
271
 
269
- ```yml
270
- ---
272
+ ```yaml
271
273
  title: Product 1 Name
272
274
  subtitle: Product 1 tagline here
273
275
  description: This is a product description
@@ -284,14 +286,13 @@ features:
284
286
  - label: Available in multiple sizes
285
287
  icon: fa-fighter-jet
286
288
  rating: 3
287
- ---
288
289
  ```
289
290
 
290
291
  The text you write for the page content will be displayed as the product description.
291
292
 
292
293
  Next, add the following to your `_config.yml` to use collections to process the product pages and output them as individual pages.
293
294
 
294
- ```yml
295
+ ```yaml
295
296
  collections:
296
297
  products:
297
298
  output: true
@@ -306,7 +307,7 @@ You can also set default product page values here if you like, such as the layou
306
307
 
307
308
  To add reviews to your product page, create a `reviews` directory in the `_data` directory and add a yml file with the name of the product_code from the product page, for example `_data/reviews/ABC124.yml`. Create the reviews using the following format:
308
309
 
309
- ```yml
310
+ ```yaml
310
311
  - name: Mr E Xample
311
312
  rating: 4
312
313
  title: Great product, highly recommended
@@ -329,14 +330,12 @@ If you don't want to display an avatar image then a default user icon will be di
329
330
 
330
331
  To create a page listing your products you will need to create a product category page. Create a page, for example `products.md`, with the `layout: product-category` in the frontmatter. You can set the sort order of the products using `sort: title` to sort by the title, or by any setting in your product pages, such as price, rating or any custom frontmatter tags you wish to set.
331
332
 
332
- ```yml
333
- ---
333
+ ```yaml
334
334
  title: Products
335
335
  subtitle: Check out our range of products
336
336
  layout: product-category
337
337
  show_sidebar: false
338
338
  sort: title
339
- ---
340
339
  ```
341
340
 
342
341
  ### Scripts
@@ -355,10 +354,13 @@ You can now add callouts to a page to make a landing page style layout.
355
354
 
356
355
  Create a data file following the below format. The style is for classes to set the background colour and sizes you would like to use of the Bulma hero container for the callouts.
357
356
 
357
+ **New in 0.5.7** You can set the height of the callouts in the data file, such as is-small, is-medium or is-large. If unset it will be is-medium by default.
358
+
358
359
  The items have 5 fields, but only the title and subtitle are required.
359
360
 
360
- ```yml
361
+ ```yaml
361
362
  style: is-light
363
+ height: is-medium
362
364
  items:
363
365
  - title: Example callout 1
364
366
  subtitle: Example subtitle 1
@@ -375,13 +377,11 @@ items:
375
377
 
376
378
  To display the callouts on your page, add a callouts property in the frontmatter and set it to the name of your data file without the extension.
377
379
 
378
- ```yml
379
- ---
380
+ ```yaml
380
381
  layout: page
381
382
  title: Example Landing Page
382
383
  subtitle: This is an example landing page
383
384
  callouts: example_callouts
384
- ---
385
385
  ```
386
386
 
387
387
  ## Contributing
@@ -1,6 +1,6 @@
1
1
  {% if page.callouts %}
2
2
  {% assign callouts=site.data.[page.callouts] %}
3
- <section class="hero is-medium {{ callouts.style }}">
3
+ <section class="hero {% if callouts.height %} {{ callouts.height }} {% else %} is-medium {% endif %} {{ callouts.style }}">
4
4
  <div class="hero-body">
5
5
  <div class="container">
6
6
  <div class="columns is-multiline is-centered">
@@ -10,7 +10,9 @@
10
10
  {% include head.html %}
11
11
  <body>
12
12
  {% include header.html %}
13
- {% include hero.html %}
13
+ {% unless page.hide_hero %}
14
+ {% include hero.html %}
15
+ {% endunless %}
14
16
  {% include callouts.html %}
15
17
  <section class="section">
16
18
  <div class="container">
@@ -0,0 +1,41 @@
1
+ # 0.5.7
2
+ * Add option to hide hero - pull request #15 from risa2000
3
+ * Add ability to override the height of callouts - pull request #14 from agardnerIT
4
+
5
+ # 0.5.6
6
+ * Explicitly reference shortcut icon - pull request #13 from johannesegger
7
+
8
+ # 0.5.5
9
+ * Fix bug with navbar dropdown in IE and Edge
10
+ * Fix bug with layout where <code> elements were too wide
11
+
12
+ # 0.5.4
13
+ * Added landing page feature
14
+
15
+ # 0.5.3
16
+ * Remove extra </a> - pull request #8 from SumitBando
17
+
18
+ # 0.5.2
19
+ * Add head and footer script partials
20
+ * Updated Bulma to 0.7.5
21
+
22
+ # 0.5.1
23
+ * Fix headings not showing in post
24
+
25
+ # 0.5
26
+ * Add product page layouts
27
+
28
+ # 0.4.1
29
+ * Added footer links
30
+
31
+ # 0.4
32
+ * Added tabs, syntax highlighting and updated Bulma
33
+
34
+ # 0.3
35
+ * Added menubar
36
+
37
+ # 0.2
38
+ * Added hero background image, blog page images and Google Analytics
39
+
40
+ # 0.1
41
+ * Initial release
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.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrisrhymes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-31 00:00:00.000000000 Z
11
+ date: 2019-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -175,6 +175,7 @@ files:
175
175
  - assets/css/app.scss
176
176
  - assets/js/app.js
177
177
  - blog/index.html
178
+ - changelog.txt
178
179
  - favicon.png
179
180
  - node_modules/.yarn-integrity
180
181
  - node_modules/bulma/CHANGELOG.md