bulma-clean-theme 0.11.2 → 0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +51 -0
  3. data/_includes/series.html +32 -0
  4. data/_layouts/post.html +4 -0
  5. data/_posts/2021-10-30-creating-a-post-series.md +59 -0
  6. data/node_modules/.package-lock.json +26 -0
  7. data/node_modules/bulma/CHANGELOG.md +521 -448
  8. data/node_modules/bulma/README.md +5 -2
  9. data/node_modules/bulma/bulma.sass +1 -1
  10. data/node_modules/bulma/css/bulma-rtl.css +778 -591
  11. data/node_modules/bulma/css/bulma-rtl.css.map +1 -1
  12. data/node_modules/bulma/css/bulma-rtl.min.css +1 -1
  13. data/node_modules/bulma/css/bulma.css +621 -434
  14. data/node_modules/bulma/css/bulma.css.map +1 -1
  15. data/node_modules/bulma/css/bulma.min.css +1 -1
  16. data/node_modules/bulma/package.json +28 -54
  17. data/node_modules/bulma/sass/base/_all.sass +3 -2
  18. data/node_modules/bulma/sass/base/animations.sass +5 -0
  19. data/node_modules/bulma/sass/base/generic.sass +2 -0
  20. data/node_modules/bulma/sass/components/_all.sass +12 -12
  21. data/node_modules/bulma/sass/components/breadcrumb.sass +2 -0
  22. data/node_modules/bulma/sass/components/card.sass +23 -3
  23. data/node_modules/bulma/sass/components/dropdown.sass +3 -1
  24. data/node_modules/bulma/sass/components/level.sass +3 -1
  25. data/node_modules/bulma/sass/components/media.sass +16 -9
  26. data/node_modules/bulma/sass/components/menu.sass +2 -0
  27. data/node_modules/bulma/sass/components/message.sass +2 -0
  28. data/node_modules/bulma/sass/components/modal.sass +2 -0
  29. data/node_modules/bulma/sass/components/navbar.sass +3 -0
  30. data/node_modules/bulma/sass/components/pagination.sass +19 -3
  31. data/node_modules/bulma/sass/components/panel.sass +3 -1
  32. data/node_modules/bulma/sass/components/tabs.sass +2 -0
  33. data/node_modules/bulma/sass/elements/_all.sass +12 -12
  34. data/node_modules/bulma/sass/elements/box.sass +3 -1
  35. data/node_modules/bulma/sass/elements/button.sass +27 -7
  36. data/node_modules/bulma/sass/elements/container.sass +2 -0
  37. data/node_modules/bulma/sass/elements/content.sass +4 -0
  38. data/node_modules/bulma/sass/elements/icon.sass +25 -0
  39. data/node_modules/bulma/sass/elements/image.sass +2 -0
  40. data/node_modules/bulma/sass/elements/notification.sass +2 -0
  41. data/node_modules/bulma/sass/elements/other.sass +2 -10
  42. data/node_modules/bulma/sass/elements/progress.sass +2 -0
  43. data/node_modules/bulma/sass/elements/table.sass +2 -0
  44. data/node_modules/bulma/sass/elements/tag.sass +2 -0
  45. data/node_modules/bulma/sass/elements/title.sass +2 -2
  46. data/node_modules/bulma/sass/form/_all.sass +6 -6
  47. data/node_modules/bulma/sass/form/file.sass +2 -0
  48. data/node_modules/bulma/sass/form/shared.sass +3 -0
  49. data/node_modules/bulma/sass/grid/_all.sass +2 -2
  50. data/node_modules/bulma/sass/grid/columns.sass +93 -84
  51. data/node_modules/bulma/sass/grid/tiles.sass +3 -1
  52. data/node_modules/bulma/sass/helpers/_all.sass +9 -9
  53. data/node_modules/bulma/sass/helpers/color.sass +2 -0
  54. data/node_modules/bulma/sass/helpers/float.sass +2 -0
  55. data/node_modules/bulma/sass/helpers/other.sass +3 -0
  56. data/node_modules/bulma/sass/helpers/position.sass +2 -0
  57. data/node_modules/bulma/sass/helpers/spacing.sass +1 -1
  58. data/node_modules/bulma/sass/helpers/typography.sass +5 -0
  59. data/node_modules/bulma/sass/helpers/visibility.sass +1 -1
  60. data/node_modules/bulma/sass/layout/_all.sass +3 -3
  61. data/node_modules/bulma/sass/layout/footer.sass +2 -0
  62. data/node_modules/bulma/sass/layout/hero.sass +8 -2
  63. data/node_modules/bulma/sass/layout/section.sass +6 -2
  64. data/node_modules/bulma/sass/utilities/_all.sass +6 -6
  65. data/node_modules/bulma/sass/utilities/animations.sass +1 -5
  66. data/node_modules/bulma/sass/utilities/controls.sass +2 -3
  67. data/node_modules/bulma/sass/utilities/derived-variables.sass +7 -0
  68. data/node_modules/bulma/sass/utilities/extends.sass +25 -0
  69. data/node_modules/bulma/sass/utilities/functions.sass +25 -4
  70. data/node_modules/bulma/sass/utilities/initial-variables.sass +5 -5
  71. data/node_modules/bulma/sass/utilities/mixins.sass +18 -23
  72. data/node_modules/bulma-block-list/.editorconfig +15 -0
  73. data/node_modules/bulma-block-list/.github/FUNDING.yml +12 -0
  74. data/node_modules/bulma-block-list/changelog.txt +17 -0
  75. data/node_modules/bulma-block-list/docs/Gemfile +2 -2
  76. data/node_modules/bulma-block-list/docs/_config.yml +2 -0
  77. data/node_modules/bulma-block-list/docs/_data/menu.yaml +3 -1
  78. data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +30 -2
  79. data/node_modules/bulma-block-list/docs/index.html +96 -5
  80. data/node_modules/bulma-block-list/package.json +15 -42
  81. data/node_modules/bulma-block-list/src/block-list.scss +30 -2
  82. data/package-lock.json +36 -7
  83. data/package.json +1 -1
  84. metadata +12 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e73c0bc32284ba14dbc9140134ba444c925da1a007ab5e44d07a0abd182d2edf
4
- data.tar.gz: 6d3b5013b5b3b8964b601a09e9415b42bf4639572d0ed794344a1f5767ea42f8
3
+ metadata.gz: 411147a7d028879cd29523fb38f6df85bcaaa60dbd1f32f56720d9f8b51bf988
4
+ data.tar.gz: 59c0abdb9a67097f3e5e0d71a2ef264300ac958d90e65a44efbd4c752d0fb060
5
5
  SHA512:
6
- metadata.gz: b62f80990e5da94b2c305ee434b9bcd63b44b869fbd2726f63eb834db19deb18b2f1abc456333123e43fb1157b79fcc2ae94ddfe7684ea6ce78ed2a20a5de462
7
- data.tar.gz: 3bb1ad05c7dfc05f41946910ceb01c9d732d28b4e044fa970c59ac3963f1203b7ee7afb755742f57f9436ab1e9e5148057db762fd966d5e2a6d88b2b967f24a7
6
+ metadata.gz: 00f7bb88affdc05ec4244e3d00bfbaa0b513df006ac9103c24ac6ff05cf544511742407e399c8da0826ecef690e58e71bd4405c8df16ea9f2881260148ac61a8
7
+ data.tar.gz: 307d0c09cb5290057a5ca47f687a24a91372478c91b9e9dcc4761925aea6b43ee05a6e9aa041c8b2d4535f920903a1fa559c19aad653a0b4618b5f13bbe56476
data/README.md CHANGED
@@ -16,6 +16,8 @@ The theme uses [Alpine.js](https://github.com/alpinejs/alpine) for its interacti
16
16
  * [Page Hero](#page-hero)
17
17
  * [Table Of Contents](#table-of-contents)
18
18
  * [Posts](#posts)
19
+ * [Post Excerpt and Summary](#post-excerpt-and-summary)
20
+ * [Series](#series)
19
21
  * [Navigation](#navigation)
20
22
  * [Colours and Styles](#colours-and-styles)
21
23
  * [Sidebar Visibility](#sidebar-visibility)
@@ -119,6 +121,55 @@ summary: |-
119
121
  It can be in **Markdown format** if required.
120
122
  ```
121
123
 
124
+ #### Series
125
+
126
+ From version 0.12, you can now make a post a part of a series of posts, linking to the other posts in the series, by creating a `series` data file and then setting the series in each of the post's front matter.
127
+
128
+ The current post in the list is highlighted to help give context of where you are in the series.
129
+
130
+ ##### Blog Series Data File
131
+
132
+ Start by creating a yml file in the _data directory, for example `my_blog_series.yml`. Give the series a title and, optionally, a description.
133
+
134
+ ##### Sections
135
+
136
+ Next add sections. Each section can have a label (optional) and items. Each item is the title of an existing blog post. If the title is not found then the link will be empty.
137
+
138
+ If you just want one list without labels, then omit the label and just add the items.
139
+
140
+ ```yaml
141
+ title: The series title
142
+ sections:
143
+ - items:
144
+ - title: Why use a static site generator
145
+ - title: Getting started with Bulma Clean Theme for Jekyll
146
+ ```
147
+
148
+ Here is a full example with multiple sections with labels.
149
+
150
+ ```yaml
151
+ title: The series title
152
+ description: The series description text
153
+ sections:
154
+ - label: The first section
155
+ items:
156
+ - title: Why use a static site generator
157
+ - title: Getting started with Bulma Clean Theme for Jekyll
158
+ - label: Another section
159
+ items:
160
+ - title: Introducing some new layouts to Bulma Clean Theme
161
+ - title: Creating a docs site with Bulma Clean Theme
162
+ - title: Creating a post series
163
+ ```
164
+
165
+ ##### Update your posts
166
+
167
+ Finally, add the series setting to your front matter in each post you want the series to show in.
168
+
169
+ ```yaml
170
+ series: my_blog_series
171
+ ```
172
+
122
173
  #### Social Share Buttons
123
174
 
124
175
  Share buttons will be displayed on your posts unless you hide them by adding `hide_share_buttons: true` to your config file.
@@ -0,0 +1,32 @@
1
+ {% assign series = site.data.[page.series] %}
2
+ {% assign posts = site.posts %}
3
+
4
+ <p class="title is-5 is-spaced">{{ series.title }}</p>
5
+
6
+ {% if series.description %}
7
+ <p>{{ series.description }}</p>
8
+ {% endif %}
9
+
10
+ {% for section in series.sections %}
11
+
12
+ {% if section.label %}
13
+ <p class="title is-6">{{ section.label }}</p>
14
+ {% endif %}
15
+
16
+ <ul class="block-list is-small is-outlined">
17
+ {% for item in section.items %}
18
+ {% assign post = posts | where: "title", item.title %}
19
+
20
+ {% if page.url == post[0].url %}
21
+ <li class="is-highlighted is-dark">
22
+ <p>{{ item.title }}</p>
23
+ </li>
24
+ {% else %}
25
+ <li>
26
+ <a href="{{ site.baseurl }}{{ post[0].url }}" class="is-flex" >{{ item.title }}</a>
27
+ </li>
28
+ {% endif %}
29
+
30
+ {% endfor %}
31
+ </ul>
32
+ {% endfor %}
data/_layouts/post.html CHANGED
@@ -6,6 +6,10 @@ layout: default
6
6
 
7
7
  <p>Published: {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
8
8
 
9
+ {% if page.series %}
10
+ {% include series.html %}
11
+ {% endif %}
12
+
9
13
  {{ content }}
10
14
  </div>
11
15
 
@@ -0,0 +1,59 @@
1
+ ---
2
+ layout: post
3
+ title: Creating a post series
4
+ description: How to create a post series with Bulma Clean Theme
5
+ date: 2021-10-30 09:00:07
6
+ hero_image: /bulma-clean-theme/img/blog-post-series.jpg
7
+ image: /bulma-clean-theme/img/blog-post-series.jpg
8
+ hero_height: is-large
9
+ hero_darken: true
10
+ tags: bulma-clean-theme jekyll blog
11
+ series: example_blog_series
12
+ ---
13
+
14
+ From version 0.12, you can now make a post a part of a series of posts, linking to the other posts in the series, by creating a `series` data file and then setting the series in each of the post's front matter.
15
+
16
+ The current post in the list is highlighted to help give context of where you are in the series.
17
+
18
+ ## Blog Series Data File
19
+
20
+ Start by creating a yml file in the _data directory, for example `my_blog_series.yml`. Give the series a title and, optionally, a description.
21
+
22
+ ## Sections
23
+
24
+ Next add sections. Each section can have a label (optional) and items. Each item is the title of an existing blog post. If the title is not found then the link will be empty.
25
+
26
+ If you just want one list without labels, then omit the label and just add the items.
27
+
28
+ ```yaml
29
+ title: The series title
30
+ sections:
31
+ - items:
32
+ - title: Why use a static site generator
33
+ - title: Getting started with Bulma Clean Theme for Jekyll
34
+ ```
35
+
36
+ Here is a full example with multiple sections with labels.
37
+
38
+ ```yaml
39
+ title: The series title
40
+ description: The series description text
41
+ sections:
42
+ - label: The first section
43
+ items:
44
+ - title: Why use a static site generator
45
+ - title: Getting started with Bulma Clean Theme for Jekyll
46
+ - label: Another section
47
+ items:
48
+ - title: Introducing some new layouts to Bulma Clean Theme
49
+ - title: Creating a docs site with Bulma Clean Theme
50
+ - title: Creating a post series
51
+ ```
52
+
53
+ ## Update your posts
54
+
55
+ Finally, add the series setting to your front matter in each post you want the series to show in.
56
+
57
+ ```yaml
58
+ series: my_blog_series
59
+ ```
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "bulma-clean-theme",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 2,
5
+ "requires": true,
6
+ "packages": {
7
+ "node_modules/bulma": {
8
+ "version": "0.9.3",
9
+ "resolved": "https://registry.npmjs.org/bulma/-/bulma-0.9.3.tgz",
10
+ "integrity": "sha512-0d7GNW1PY4ud8TWxdNcP6Cc8Bu7MxcntD/RRLGWuiw/s0a9P+XlH/6QoOIrmbj6o8WWJzJYhytiu9nFjTszk1g=="
11
+ },
12
+ "node_modules/bulma-block-list": {
13
+ "version": "0.5.0",
14
+ "resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.5.0.tgz",
15
+ "integrity": "sha512-M5IXvvLtU5AjWIhRnYK7ZpNnJ1zEHe+25EnE2jBfpoXQDjVTsHRDfAsMXTyE7TA0FX1OBdVWL8A+ejQ7oSbIQw==",
16
+ "dependencies": {
17
+ "bulma": "^0.8.0"
18
+ }
19
+ },
20
+ "node_modules/bulma-block-list/node_modules/bulma": {
21
+ "version": "0.8.2",
22
+ "resolved": "https://registry.npmjs.org/bulma/-/bulma-0.8.2.tgz",
23
+ "integrity": "sha512-vMM/ijYSxX+Sm+nD7Lmc1UgWDy2JcL2nTKqwgEqXuOMU+IGALbXd5MLt/BcjBAPLIx36TtzhzBcSnOP974gcqA=="
24
+ }
25
+ }
26
+ }