bulma-clean-theme 0.11.2 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -636
  3. data/_includes/head.html +4 -1
  4. data/_includes/header.html +1 -1
  5. data/_includes/image-modal.html +5 -5
  6. data/_includes/notification.html +2 -2
  7. data/_includes/series.html +32 -0
  8. data/_layouts/default.html +1 -0
  9. data/_layouts/post.html +4 -0
  10. data/_posts/2021-10-30-creating-a-post-series.md +59 -0
  11. data/_sass/_layout.scss +4 -1
  12. data/node_modules/.package-lock.json +21 -0
  13. data/node_modules/bulma/CHANGELOG.md +521 -448
  14. data/node_modules/bulma/README.md +5 -2
  15. data/node_modules/bulma/bulma.sass +1 -1
  16. data/node_modules/bulma/css/bulma-rtl.css +778 -591
  17. data/node_modules/bulma/css/bulma-rtl.css.map +1 -1
  18. data/node_modules/bulma/css/bulma-rtl.min.css +1 -1
  19. data/node_modules/bulma/css/bulma.css +621 -434
  20. data/node_modules/bulma/css/bulma.css.map +1 -1
  21. data/node_modules/bulma/css/bulma.min.css +1 -1
  22. data/node_modules/bulma/package.json +28 -54
  23. data/node_modules/bulma/sass/base/_all.sass +3 -2
  24. data/node_modules/{bulma-block-list/node_modules/bulma/sass/utilities → bulma/sass/base}/animations.sass +0 -0
  25. data/node_modules/bulma/sass/base/generic.sass +2 -0
  26. data/node_modules/bulma/sass/components/_all.sass +12 -12
  27. data/node_modules/bulma/sass/components/breadcrumb.sass +2 -0
  28. data/node_modules/bulma/sass/components/card.sass +23 -3
  29. data/node_modules/bulma/sass/components/dropdown.sass +3 -1
  30. data/node_modules/bulma/sass/components/level.sass +3 -1
  31. data/node_modules/bulma/sass/components/media.sass +16 -9
  32. data/node_modules/bulma/sass/components/menu.sass +2 -0
  33. data/node_modules/bulma/sass/components/message.sass +2 -0
  34. data/node_modules/bulma/sass/components/modal.sass +2 -0
  35. data/node_modules/bulma/sass/components/navbar.sass +3 -0
  36. data/node_modules/bulma/sass/components/pagination.sass +19 -3
  37. data/node_modules/bulma/sass/components/panel.sass +3 -1
  38. data/node_modules/bulma/sass/components/tabs.sass +2 -0
  39. data/node_modules/bulma/sass/elements/_all.sass +12 -12
  40. data/node_modules/bulma/sass/elements/box.sass +3 -1
  41. data/node_modules/bulma/sass/elements/button.sass +27 -7
  42. data/node_modules/bulma/sass/elements/container.sass +2 -0
  43. data/node_modules/bulma/sass/elements/content.sass +4 -0
  44. data/node_modules/bulma/sass/elements/icon.sass +25 -0
  45. data/node_modules/bulma/sass/elements/image.sass +2 -0
  46. data/node_modules/bulma/sass/elements/notification.sass +2 -0
  47. data/node_modules/bulma/sass/elements/other.sass +2 -10
  48. data/node_modules/bulma/sass/elements/progress.sass +2 -0
  49. data/node_modules/bulma/sass/elements/table.sass +2 -0
  50. data/node_modules/bulma/sass/elements/tag.sass +2 -0
  51. data/node_modules/bulma/sass/elements/title.sass +2 -2
  52. data/node_modules/bulma/sass/form/_all.sass +6 -6
  53. data/node_modules/bulma/sass/form/file.sass +2 -0
  54. data/node_modules/bulma/sass/form/shared.sass +3 -0
  55. data/node_modules/bulma/sass/grid/_all.sass +2 -2
  56. data/node_modules/bulma/sass/grid/columns.sass +93 -84
  57. data/node_modules/bulma/sass/grid/tiles.sass +3 -1
  58. data/node_modules/bulma/sass/helpers/_all.sass +9 -9
  59. data/node_modules/bulma/sass/helpers/color.sass +2 -0
  60. data/node_modules/bulma/sass/helpers/float.sass +2 -0
  61. data/node_modules/bulma/sass/helpers/other.sass +3 -0
  62. data/node_modules/bulma/sass/helpers/position.sass +2 -0
  63. data/node_modules/bulma/sass/helpers/spacing.sass +1 -1
  64. data/node_modules/bulma/sass/helpers/typography.sass +5 -0
  65. data/node_modules/bulma/sass/helpers/visibility.sass +1 -1
  66. data/node_modules/bulma/sass/layout/_all.sass +3 -3
  67. data/node_modules/bulma/sass/layout/footer.sass +2 -0
  68. data/node_modules/bulma/sass/layout/hero.sass +8 -2
  69. data/node_modules/bulma/sass/layout/section.sass +6 -2
  70. data/node_modules/bulma/sass/utilities/_all.sass +6 -6
  71. data/node_modules/bulma/sass/utilities/animations.sass +1 -5
  72. data/node_modules/bulma/sass/utilities/controls.sass +2 -3
  73. data/node_modules/bulma/sass/utilities/derived-variables.sass +7 -0
  74. data/node_modules/bulma/sass/utilities/extends.sass +25 -0
  75. data/node_modules/bulma/sass/utilities/functions.sass +25 -4
  76. data/node_modules/bulma/sass/utilities/initial-variables.sass +5 -5
  77. data/node_modules/bulma/sass/utilities/mixins.sass +18 -23
  78. data/node_modules/bulma-block-list/.editorconfig +15 -0
  79. data/node_modules/bulma-block-list/.github/FUNDING.yml +12 -0
  80. data/node_modules/bulma-block-list/changelog.txt +20 -0
  81. data/node_modules/bulma-block-list/docs/Gemfile +2 -2
  82. data/node_modules/bulma-block-list/docs/_config.yml +2 -0
  83. data/node_modules/bulma-block-list/docs/_data/menu.yaml +5 -1
  84. data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +30 -2
  85. data/node_modules/bulma-block-list/docs/index.html +106 -7
  86. data/node_modules/bulma-block-list/package.json +10 -44
  87. data/node_modules/bulma-block-list/src/block-list.scss +30 -2
  88. data/package-lock.json +32 -15
  89. data/package.json +2 -2
  90. metadata +20 -67
  91. data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +0 -1390
  92. data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +0 -21
  93. data/node_modules/bulma-block-list/node_modules/bulma/README.md +0 -130
  94. data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +0 -9
  95. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +0 -10855
  96. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +0 -1
  97. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +0 -1
  98. data/node_modules/bulma-block-list/node_modules/bulma/package.json +0 -77
  99. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +0 -5
  100. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +0 -142
  101. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +0 -281
  102. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +0 -79
  103. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +0 -15
  104. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +0 -75
  105. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +0 -79
  106. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +0 -81
  107. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +0 -77
  108. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +0 -39
  109. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +0 -50
  110. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +0 -57
  111. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +0 -99
  112. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +0 -113
  113. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +0 -441
  114. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +0 -150
  115. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +0 -119
  116. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +0 -151
  117. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +0 -15
  118. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +0 -24
  119. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +0 -323
  120. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +0 -24
  121. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +0 -155
  122. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +0 -1
  123. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +0 -21
  124. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +0 -71
  125. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +0 -43
  126. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +0 -39
  127. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +0 -67
  128. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +0 -127
  129. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +0 -128
  130. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +0 -70
  131. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +0 -8
  132. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +0 -21
  133. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +0 -180
  134. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +0 -64
  135. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +0 -85
  136. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +0 -55
  137. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +0 -205
  138. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +0 -4
  139. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +0 -504
  140. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +0 -34
  141. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +0 -5
  142. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +0 -9
  143. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +0 -145
  144. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +0 -13
  145. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +0 -8
  146. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +0 -50
  147. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +0 -106
  148. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +0 -110
  149. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +0 -77
  150. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +0 -261
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e73c0bc32284ba14dbc9140134ba444c925da1a007ab5e44d07a0abd182d2edf
4
- data.tar.gz: 6d3b5013b5b3b8964b601a09e9415b42bf4639572d0ed794344a1f5767ea42f8
3
+ metadata.gz: 89985a083ab2dce335df9d7a43d6d5990dcc62b5377998f2e721aae9341c0a71
4
+ data.tar.gz: 1add43743ac3f17d2c6bb4003130e050d96f8ca87882c2eaf9b14a1e0c726dfc
5
5
  SHA512:
6
- metadata.gz: b62f80990e5da94b2c305ee434b9bcd63b44b869fbd2726f63eb834db19deb18b2f1abc456333123e43fb1157b79fcc2ae94ddfe7684ea6ce78ed2a20a5de462
7
- data.tar.gz: 3bb1ad05c7dfc05f41946910ceb01c9d732d28b4e044fa970c59ac3963f1203b7ee7afb755742f57f9436ab1e9e5148057db762fd966d5e2a6d88b2b967f24a7
6
+ metadata.gz: 9ce466cc9ba8bdb5c5932f39c499ae5e14bc63e1dadc94bf8d8aa34f483c79833604da54ea3779d37387d34161714bec202a97cd1e81afa022c7c55dace47574
7
+ data.tar.gz: 6f350ee0d67dc404ae30f48b082a985e06348011f9a028c31bf972d8b136ec839fc73edd5160a1efc1e42d3b90c7f812ee41e81bacbfaf0f1a1f8fb0f525e213
data/README.md CHANGED
@@ -10,30 +10,7 @@ The theme uses [Alpine.js](https://github.com/alpinejs/alpine) for its interacti
10
10
  ## Contents
11
11
 
12
12
  * [Installation](#installation)
13
- * [Usage](#usage)
14
- * [Lang](#lang)
15
- * [Pages](#pages)
16
- * [Page Hero](#page-hero)
17
- * [Table Of Contents](#table-of-contents)
18
- * [Posts](#posts)
19
- * [Navigation](#navigation)
20
- * [Colours and Styles](#colours-and-styles)
21
- * [Sidebar Visibility](#sidebar-visibility)
22
- * [Menubar](#menubar)
23
- * [Tabs](#tabs)
24
- * [Notifications](#notifications)
25
- * [Tags](#tags)
26
- * [Google Analytics](#google-analytics)
27
- * [Footer](#footer)
28
- * [Products](#products)
29
- * [Scripts](#scripts)
30
- * [Callouts](#callouts)
31
- * [Favicon](#favicon)
32
- * [Showcases](#showcases)
33
- * [Sponsors](#sponsors)
34
- * [Gallery](#gallery)
35
- * [Disqus](#disqus)
36
- * [Recipe](#recipe)
13
+ * [Documentation](#documentation)
37
14
  * [Contributing](#contributing)
38
15
  * [Development](#development)
39
16
  * [Licence](#licence)
@@ -41,8 +18,6 @@ The theme uses [Alpine.js](https://github.com/alpinejs/alpine) for its interacti
41
18
 
42
19
  ## Installation
43
20
 
44
- **This theme requires Jekyll 3.9 to be compatible with GitHub Pages.**
45
-
46
21
  Add this line to your Jekyll site's `Gemfile`:
47
22
 
48
23
  ```ruby
@@ -55,625 +30,24 @@ And add this line to your Jekyll site's `_config.yml`:
55
30
  theme: bulma-clean-theme
56
31
  ```
57
32
 
58
- And then execute:
59
-
60
- $ bundle
61
-
62
- Or install it yourself as:
63
-
64
- $ gem install bulma-clean-theme
65
-
66
- ## Usage
67
-
68
- ### Lang
69
-
70
- The html lang attribute is set to `en` by default but you can override this in the _config.yml file `lang: en`
71
-
72
- ### Pages
73
-
74
- Create your pages as individual Markdown files and use `layout: page` for normal pages. Set the page's title and subtitle in the front matter and it will appear in the hero.
75
-
76
- #### Page Hero
77
-
78
- **New in 0.2** - Heros can now display a background image if you provide a `hero_image: /path/to/image.jpg` setting in your page front matter, or in the [defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in your site's `_config.yml`.
79
-
80
- You can also set the height of the hero by providing a Bulma hero height class in your front matter, such as `hero_height: is-fullwidth`. If you do not provide this, it will revert to `is-medium`.
81
-
82
- **New in 0.5.4** - 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 front matter.
83
-
84
- **New in 0.5.7** - If you would like to hide the hero, you can set `hide_hero: true` in the page's front matter.
85
-
86
- **New in 0.7.1** - If you would like to darken the hero so the title stands out more, you can set `hero_darken: true` in the page's front matter. You can overwrite the default background colour by setting the `$hero-darken` sass variable.
87
-
88
- #### Table Of Contents
89
-
90
- **New in 0.5.8** - If you want to display a table of contents (toc) then add `toc: true` to your page's front matter. You can customise the default table of contents title by setting `toc_title: My Custom Title` in the page's front matter.
91
-
92
- **New in 0.10.3** - If you would prefer to display the contents in the menubar at the side of the page, then use `menubar_toc: true` instead of `toc: true`. This will also override the page's `menubar` setting.
93
-
94
- ### Posts
95
-
96
- If you want posts, create a `_posts` directory to store your posts as per normal Jekyll usage, with `layout: post`. Next, create a `blog` directory with an index.html file that has `layout: blog`.
97
-
98
- Set `paginate` and `paginate_path` in your site's `_config.yaml` to configure the posts per page and blog pagination path.
99
-
100
- ```yaml
101
- paginate: 5
102
- paginate_path: "/blog/page:num"
103
- ```
104
-
105
- **New in 0.2** - It will now display an image in the blog page if you set `image: /path/to/image.jpg` in your post's or page's front matter, or in the [defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in your site's `_config.yml`.
106
-
107
- You can also set the height of the hero by providing a Bulma hero height class in your front matter, such as `hero_height: is-fullwidth`. If you do not provide this, it will revert to `is-medium`.
108
-
109
- #### Post Excerpt and Summary
110
-
111
- By default, the blog page and the latest posts will use the automatically generated post excerpt. If you would like to override this you can set the summary in the post's front matter.
112
-
113
- ```yaml
114
- layout: post
115
- title: The post title
116
- summary: |-
117
- This is the custom summary for the post.
118
-
119
- It can be in **Markdown format** if required.
120
- ```
121
-
122
- #### Social Share Buttons
123
-
124
- Share buttons will be displayed on your posts unless you hide them by adding `hide_share_buttons: true` to your config file.
125
-
126
-
127
- ### Navigation
128
-
129
- For the top navigation, create a navigation.yml file in the `_data` directory with the following format with the pages you want to include in the top navigation. You can now also add items to a dropdown menu.
130
-
131
- ```yaml
132
- - name: Page 1
133
- link: /page-1/
134
- - name: Blog
135
- link: /blog/
136
- dropdown:
137
- - name: Page 2
138
- link: /page-2/
139
- ```
140
-
141
- For the current page to have an active class, ensure the `link:` format matches your [permalink](https://jekyllrb.com/docs/permalinks/#extensionless-permalinks) format. The above example will work with a `permalink: pretty` setting in your `_config.yml`.
142
-
143
- #### Fixed Navbar
144
-
145
- To have a fixed navbar on the top or bottom of your site, you can set `fixed_navbar: top` or `fixed_navbar: bottom` respectively in your
146
- `_config.yml`.
147
-
148
- ### Colours and Styles
149
-
150
- To overwrite the primary theme colour, set a sass variable in `assets/css/app.scss` before importing `main`.
151
-
152
- ```
153
- ---
154
- ---
155
- $primary: #333333;
156
- // Import Main CSS file from theme
157
- @import "main";
158
- ```
159
-
160
- You can overwrite any of the [Bulma initial variables](http://versions.bulma.io/0.7.0/documentation/overview/variables/) in this way as long as they are declared before the `@import "main";`.
161
-
162
- #### Theme Color Meta Tag
163
-
164
- If you want to update the theme color meta tag then set `theme_color: '#333333'` in your `_config.yml` file.
165
-
166
- ### Sidebar Visibility
167
-
168
- **New in 0.2** - If you want to show the sidebar with latest posts then set `show_sidebar: true` in the page's frontmatter, or in the [defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) in your site's `_config.yml`.
169
-
170
- ### Menubar
171
-
172
- **New in 0.3** - 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.
173
-
174
- ```yaml
175
- show_sidebar: false
176
- menubar: example_menu
177
- ```
178
-
179
- You will probably want to disable `show_sidebar`. Otherwise there will be little room for the page content.
180
-
181
- #### Creating a menubar data file
182
-
183
- Create a data file in the `_data` directory and use the following format (if using yml).
184
-
185
- ```yaml
186
- - label: Example Menu
187
- items:
188
- - name: Home
189
- link: /
190
- - name: Pages
191
- link: #
192
- items:
193
- - name: Page With Sidebar
194
- link: /page-1/
195
- - name: Page Without Sidebar
196
- link: /page-2/
197
- - name: Page With Menubar
198
- link: /page-3/
199
- - name: Blog
200
- link: /blog/
201
- ```
202
-
203
- For the current page to have an active class, ensure the `link:` format matches your [permalink](https://jekyllrb.com/docs/permalinks/#extensionless-permalinks) format. The above example will work with `permalink: pretty` setting in your `_config.yml`.
204
-
205
- #### Multiple menus
206
-
207
- You may make multiple menus in the same file, separated by labels.
208
-
209
- ```yaml
210
- - label: Menu Label
211
- items:
212
- - name: Example item
213
- link: /example-item/
214
- - label: Second Menu Label
215
- items:
216
- - name: Parent Item
217
- link: /parent-item/
218
- items:
219
- - name: Sublink
220
- link: /sublink/
221
- - name: Sublink 2
222
- link: /sublink2/
223
- - label: Third Menu Label
224
- items:
225
- - name: Another example item
226
- link: /another-example-item/
227
- ```
228
-
229
- ### Tabs
230
-
231
- **New in 0.4** - `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 front matter.
232
-
233
- ```yaml
234
- title: Page with tabs
235
- subtitle: Demo page with tabs
236
- layout: page
237
- show_sidebar: false
238
- menubar: example_menu
239
- tabs: example_tabs
240
- ```
241
-
242
- Tabs can be used in conjunction with menubar and/or sidebar if you wish.
243
-
244
- #### Creating a tabs data file
245
-
246
- Create a data file in the `_data` directory and use the following format (if using yml).
247
-
248
- ```yaml
249
- alignment: is-left
250
- style: is-boxed
251
- size: is-large
252
- items:
253
- - name: Tabs
254
- link: /page-4/
255
- icon: fa-smile-wink
256
- - name: Sidebar
257
- link: /page-1/
258
- icon: fa-square
259
- - name: No Sidebar
260
- link: /page-2/
261
- icon: fa-ellipsis-v
262
- - name: Menubar
263
- link: /page-3/
264
- icon: fa-bars
265
- ```
266
-
267
- #### Settings
268
-
269
- You can control the alignment, style, and size of tabs by using the relevant [Bulma tabs classes](https://bulma.io/documentation/components/tabs/).
270
-
271
- #### Active Tab Highlighting
272
-
273
- It will automatically mark the active tab based on the current page.
274
-
275
- #### Icons
276
-
277
- You can add icons to your tab by passing in the [Font Awesome icon class](https://fontawesome.com/icons?d=gallery). If you don't wish to show icons then simply omit the option from your yaml file.
278
-
279
- ### Notifications
280
-
281
- You can include a notification in a page or post using the below include. The message is required but the status defaults to 'is-warning' and the icon defaults to 'fas fa-exclamation-circle', but can be overwritten by setting the values in the includes. The message can also be written in Markdown format.
282
-
283
- ```liquid
284
- {% include notification.html message="This is the message for the notification" %}
285
- ```
286
-
287
- #### Dismissible Notifications
288
-
289
- To set a notification to be dismissible, set dismissible to 'true'
290
-
291
- ```liquid
292
- {% include notification.html
293
- message="This notification is dismissable"
294
- dismissable="true" %}
295
- ```
296
-
297
- #### Iconless Notifications
298
-
299
- Omit the icon by setting icon to 'false'
300
-
301
- ```liquid
302
- {% include notification.html
303
- message="This notification does not have an icon."
304
- icon="false" %}
305
- ```
306
-
307
- ### Tags
308
-
309
- To include a tag use the following include.
310
-
311
- ```liquid
312
- {% include tag.html tag="The tag text" %}
313
- ```
314
-
315
- You can overwrite the default style (is-primary) by passing in the style in the include tag.
316
-
317
- ```liquid
318
- {% include tag.html tag="The tag text" style="is-light" %}
319
- ```
320
-
321
- ### Google Analytics
322
-
323
- **New in 0.2** - To enable Google Analytics add `google_analytics: UA-xxxxxxxx` to your `_config.yml` replacing the UA-xxxxxxxx with your Google Analytics property.
324
-
325
- ### Footer
326
-
327
- **New in 0.4.1** - To add some footer links, create a yaml file in the `_data` directory using the following format.
33
+ If you are deploying to GitHub pages, then you can also install the [GitHub Pages gem](https://github.com/github/pages-gem) and use `remote_theme` instead of `theme` in your `_config.yml`. **Note that the GitHub Pages gem requires Jekyll version 3.9.**
328
34
 
329
35
  ```yaml
330
- - name: Blog
331
- link: /blog/
332
- - name: About
333
- link: /about/
334
- - name: Privacy Policy
335
- link: /privacy-policy/
36
+ # With GitHub Pages Gem
37
+ remote_theme: chrisrhymes/bulma-clean-theme
336
38
  ```
337
39
 
338
- Then add the name of your yaml file (without the .yml extension) into the `footer_menu` setting in the `_config.yml`.
339
-
340
- ```yaml
341
- footer_menu: example_footer_menu
342
- ```
343
-
344
- #### Hiding the footer
345
-
346
- **New in 0.5.2** - If you would like to hide the footer on a particular page then set `hide_footer: true` in the page's frontmatter.
347
-
348
- ### Products
349
-
350
- **New in 0.5** - Now you can add simple product pages to your site using collections.
351
-
352
- #### Product pages
353
-
354
- 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.
355
-
356
- ```yaml
357
- title: Product 1 Name
358
- subtitle: Product 1 tagline here
359
- description: This is a product description
360
- hero_image: /img/hero-img.jpg
361
- product_code: ABC124
362
- layout: product
363
- image: https://via.placeholder.com/640x480
364
- price: £1.99 + VAT
365
- features:
366
- - label: Great addition to any home
367
- icon: fa-location-arrow
368
- - label: Comes in a range of styles
369
- icon: fa-grin-stars
370
- - label: Available in multiple sizes
371
- icon: fa-fighter-jet
372
- rating: 3
373
- ```
374
-
375
- The text you write for the page content will be displayed as the product description.
376
-
377
- Next, add the following to your `_config.yml` to use collections to process the product pages and output them as individual pages.
378
-
379
- ```yaml
380
- collections:
381
- products:
382
- output: true
383
- layout: product
384
- image: https://via.placeholder.com/800x600
385
- show_sidebar: false
386
- ```
387
-
388
- You can also set default product page values here if you like, such as the layout or image.
389
-
390
- #### Product Reviews
391
-
392
- To add reviews to your product page, create a `reviews` directory in the `_data` directory and add a yaml 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:
393
-
394
- ```yaml
395
- - name: Mr E Xample
396
- rating: 4
397
- title: Great product, highly recommended
398
- date: 2019-01-01
399
- avatar: https://bulma.io/images/placeholders/128x128.png
400
- description: >
401
- The product worked really well. I would recommend this to most people to use. Delivery was quick and reasonable.
402
- Would recommend this to my friends.
403
- - name: Mrs R E View
404
- rating: 5
405
- title: Nice, really liked this
406
- date: 2019-02-02
407
- description: >
408
- The product worked exactly as described.
409
- ```
410
-
411
- If you don't want to display an avatar image then a default user icon will be displayed. If you don't want to display a rating then omit it from the yaml file.
412
-
413
- #### Product Category Page
414
-
415
- 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.
416
-
417
- ```yaml
418
- title: Products
419
- subtitle: Check out our range of products
420
- layout: product-category
421
- show_sidebar: false
422
- sort: title
423
- ```
424
-
425
- ### Scripts
426
-
427
- **New in 0.5.2** - There are two new files within the includes directory called `head-scripts.html` and `footer-scripts.html`. These are empty files by default but allow you to add any additional JavaScript to your site, such as the script for AddThis share buttons, in the `<head>` or after the `<footer>` of the page.
428
-
429
- ### Callouts
430
-
431
- **New in 0.5.4** - You can now add callouts to a page to make a landing page style layout.
432
-
433
- * [Example of page with callouts - notice the 'calls to action' below the header.](http://www.csrhymes.com/bulma-clean-theme/landing/)
434
-
435
- #### Create a callout data file
436
-
437
- 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.
438
-
439
- **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.
440
-
441
- The items have six fields, but only the title and subtitle are required. If the icon is a brand icon, such as GitHub in the below example, set `icon_brand: true`.
442
-
443
- ```yaml
444
- style: is-light
445
- height: is-medium
446
- items:
447
- - title: Example callout 1
448
- subtitle: Example subtitle 1
449
- icon: fa-github
450
- icon_brand: true
451
- description: >
452
- The example description text goes here and can be multiple lines.
453
-
454
- For example, such as this.
455
- call_to_action_name: Call to action 1
456
- call_to_action_link: /page-1/
457
- ```
458
-
459
- #### Set the callouts in the frontmatter
460
-
461
- 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.
462
-
463
- ```yaml
464
- layout: page
465
- title: Example Landing Page
466
- subtitle: This is an example landing page
467
- callouts: example_callouts
468
- ```
469
-
470
- ### Favicon
471
-
472
- The default favicon path is `{{ site.baseurl }}/favicon.png` but you can overwrite it in the site's `_config.yml` like this `favicon: /path/to/favicon.png`
473
-
474
- ### Showcases
475
-
476
- Showcases allow you to display your work to others using a simple layout.
477
-
478
- #### Creating A Showcase Datafile
479
-
480
- Create a datafile in your site's `_data` directory in the following format. Subtitle, features and tags are not required.
481
-
482
- The description text accepts Markdown and is run through the markdownify filter on the page.
483
-
484
- The `image_ratio` will default to `is-16by9` if it is not defined and accepts the [Bulma image](https://bulma.io/documentation/elements/image/) classes.
485
-
486
- To display GitHub Stars, Forks, and Watchers badges, add your GitHub user and repo name to the `github` setting, such as `chrisrhymes/bulma-clean-theme`.
487
-
488
- To change the default styles of the features, set `features_styles`. This uses the styles from [bulma-block-list](https://www.csrhymes.com/bulma-block-list/) npm package.
489
-
490
- ```yaml
491
- intro: |-
492
- This is some introduction text for the showcases.
493
-
494
- ## Example Heading
495
- It can convert Markdown format
496
-
497
- items:
498
- - title: Example showcase item
499
- subtitle: Example subtitle
500
- description: |-
501
- This is the example description for this item that you are showcasing and has an image, title, description, tags and a link.
502
- features:
503
- - This is a feature
504
- - This is a feature
505
- features_styles: is-centered is-outlined is-primary
506
- image: https://via.placeholder.com/1024x788
507
- image_ratio: is-16by9
508
- link: http://www.example.com
509
- link_text: View example
510
- tags: PHP,CSS,JavaScript
511
- github: user/repo-name
512
- ```
513
-
514
- #### Displaying the Showcase
515
-
516
- Set the showcase in the page's front matter to be the name of the showcase data file without the extension. This gives you the ability to create multiple showcases to be used on different pages.
517
-
518
- ```yaml
519
- title: Showcase
520
- subtitle: An example showcase page
521
- layout: page
522
- showcase: showcase_example
523
- show_sidebar: false
524
- ```
525
-
526
- ### Sponsors
527
-
528
- #### Sponsor link in navbar
529
-
530
- If you have a GitHub sponsors account set up, you can add your username to `gh_sponsor` in the `_config.yml` file and it will display a link to your profile on the right of the navbar.
531
-
532
- ```yaml
533
- gh_sponsor: chrisrhymes
534
- ```
535
-
536
- #### Creating a Sponsors Datafile
537
-
538
- If you would like to create a page to thank your sponsors then create a data file, such as my_sponsors.yml file with the following structure:
539
-
540
- ```yaml
541
- - tier_name: Platinum Sponsors
542
- size: large
543
- description: |-
544
- This is the description for the Platinum Tier
545
- sponsors:
546
- - name: Dave McDave
547
- profile: https://github.com/
548
- - name: Sarah Lee-Cheesecake
549
- profile: https://github.com/
550
- - tier_name: Gold Sponsors
551
- description: |-
552
- This is the description for the Gold Tier
553
- sponsors:
554
- - name: Dave McDave
555
- profile: https://github.com/
556
- ```
557
-
558
- The `tier_name` and `description` are required. The `size` is not required, but can be overwritten to 'large' or 'small' to increase or decrease the size of the box and the text size.
559
-
560
- The sponsors require a name, but not a profile link.
561
-
562
- #### Displaying the Sponsors
563
-
564
- To display the sponsors on your page, set the sponsors to the filename without the extension in the page's front matter
565
-
566
- ```yaml
567
- layout: page
568
- title: My Sponsors Page
569
- sponsors: my_sponsors
570
- ```
571
-
572
- ### Gallery
573
-
574
- Display a simple image gallery on a page, with image descriptions.
575
-
576
- #### Create an image gallery data file
577
-
578
- Start by creating a gallery data file using the below format, for example `my_gallery.yml`.
579
-
580
- ```yaml
581
- - title: Image Gallery Title
582
- images:
583
- - link: https://via.placeholder.com/800x450
584
- large_link: https://via.placeholder.com/1200x675
585
- alt: The alt text for the image
586
- description: |-
587
- The image description can be written in **Markdown** if required
588
- ratio: is-16by9
589
- - link: https://via.placeholder.com/800x600
590
- large_link: https://via.placeholder.com/1200x675
591
- alt: The alt text for the image
592
- description: The image description
593
- ratio: is-4by3
594
- ```
595
-
596
- * If a ratio is not provided it will default to 16 by 9. Use [Bulma image](https://bulma.io/documentation/elements/image/) classes to define the image ratio required.
597
- * The description can be plaintext or it can be Markdown if required.
598
- * The alt will be used as the image's alt text.
599
- * The large_link displays in a modal when the image is clicked.
600
-
601
- #### Displaying the gallery
602
-
603
- In your page's front matter add a gallery with the datafile's filename without the extension.
604
-
605
- ```yaml
606
- layout: page
607
- title: My Image Gallery
608
- gallery: my_gallery
609
- ```
610
-
611
- ### Disqus
612
-
613
- Disqus comments are available for posts. To be able to use them, you need to set your disqus shortname in `_config.yml`.
614
- ```
615
- disqus.shortname=<example-com.disqus.com>
616
- ```
617
-
618
- Need help finding your Disqus Shortname? [See this helpful post by Disqus on the matter.](https://help.disqus.com/en/articles/1717111-what-s-a-shortname)
619
-
620
- Then you need to set your Jekyll environment to production:
621
-
622
- ```JEKYLL_ENV=production bundle exec jekyll build```.
623
-
624
- Comments are enabled by default. If you want to disable them, set in the front matter this setting:
625
-
626
- ```markdown
627
- comments: false
628
- ```
629
-
630
- ### Recipe
40
+ And then execute:
631
41
 
632
- You can make a single page using the recipe layout, or you can use it in your blog by specifying the `layout: recipe` instead of post.
42
+ $ bundle
633
43
 
634
- You probably want to hide the sidebar, so the recipe takes up the whole page width. If you add any additional content to the page it will appear below the recipe details.
44
+ Or install it yourself as:
635
45
 
636
- Create a list in the front matter for the ingredients, then the method steps and it will automatically be added to the page.
46
+ $ gem install bulma-clean-theme
637
47
 
638
- The front matter will also be added to the page as schema data that is used by search engines. Please see the below example for all of the schema options available.
48
+ ## Documentation
639
49
 
640
- ```yaml
641
- layout: recipe
642
- title: An Example Recipe Page
643
- subtitle: Tastes great and easy to cook
644
- author: CS Rhymes
645
- date: 2021-03-02
646
- show_sidebar: false
647
- image: /bulma-clan-theme/img/recipe-example.jpg
648
- hero_image: /bulma-clean-theme/img/recipe-example.jpg
649
- ingredients:
650
- - 1tsp vegetable oil
651
- - 2 Carrots, finely diced
652
- - 1 Onion, finely dices
653
- - 1 Celery stick, finely diced
654
- - 2 Cloves of Garlic, crushed
655
- - 400g lean Minced Beef
656
- - 400g tin of Chopped Tomatoes
657
- - 2tbsp Tomato Puree
658
- - 300ml Beef Stock
659
- - 1tsp Worcestershire Sauce
660
- - 2tsp Italian Herbs
661
- - Salt and Pepper
662
- method:
663
- - Heat the vegetable oil in a large pan on a medium heat, then add the carrots, onion and celery and cook for five to ten minutes to soften, stirring occasionally
664
- - Add the crushed garlic and cook for 2 more minutes, stiffing occasionally
665
- - Add the minced beef to the pan, breaking it up with a wooden spoon and cook until browned off
666
- - Add the chopped tomatoes, tomato puree, beef stock, worcestershire sauce and italian herbs and stir. Add a pinch of salt and pepper then stir through
667
- - Bring to a gentle simmer and cook for 30 minutes
668
- prep_time: PT0H10M
669
- cook_time: PT1H
670
- total_time: PT1H10M
671
- keywords: recipe,cooking
672
- recipe_yield: 4
673
- recipe_category: Main course
674
- recipe_cuisine: Italian
675
- calories: 500 calories
676
- ```
50
+ Check out the demo site for the [Documentation](https://www.csrhymes.com/bulma-clean-theme/docs/)
677
51
 
678
52
  ## Contributing
679
53
 
data/_includes/head.html CHANGED
@@ -6,12 +6,15 @@
6
6
  <link rel="shortcut icon" type="image/png"
7
7
  {% if site.favicon %} href="{{ site.favicon | relative_url }}" {% else %} href="{{ site.baseurl }}/favicon.png" {% endif %}
8
8
  />
9
- <script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.8.0/dist/alpine.min.js" defer></script>
9
+ <script defer src="https://unpkg.com/alpinejs@3.9.0/dist/cdn.min.js"></script>
10
10
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
11
11
  {% unless site.hide_share_buttons %}
12
12
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-social@1/bin/bulma-social.min.css">
13
13
  {% endunless %}
14
14
  {% seo %}
15
+ {% if site.feed %}
16
+ {% feed_meta %}
17
+ {% endif %}
15
18
  {%- if site.google_analytics -%}
16
19
  {%- include google-analytics.html -%}
17
20
  {%- endif -%}