bulma-clean-theme 0.11 → 0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -634
- data/_includes/head.html +1 -1
- data/_includes/header.html +1 -1
- data/_includes/image-modal.html +1 -1
- data/_includes/notification.html +2 -2
- data/_includes/series.html +32 -0
- data/_layouts/default.html +2 -2
- data/_layouts/post.html +4 -0
- data/_layouts/recipe.html +22 -0
- data/_posts/2021-10-30-creating-a-post-series.md +59 -0
- data/node_modules/.package-lock.json +21 -0
- data/node_modules/bulma/CHANGELOG.md +521 -448
- data/node_modules/bulma/README.md +5 -2
- data/node_modules/bulma/bulma.sass +1 -1
- data/node_modules/bulma/css/bulma-rtl.css +778 -591
- data/node_modules/bulma/css/bulma-rtl.css.map +1 -1
- data/node_modules/bulma/css/bulma-rtl.min.css +1 -1
- data/node_modules/bulma/css/bulma.css +621 -434
- data/node_modules/bulma/css/bulma.css.map +1 -1
- data/node_modules/bulma/css/bulma.min.css +1 -1
- data/node_modules/bulma/package.json +28 -54
- data/node_modules/bulma/sass/base/_all.sass +3 -2
- data/node_modules/{bulma-block-list/node_modules/bulma/sass/utilities → bulma/sass/base}/animations.sass +0 -0
- data/node_modules/bulma/sass/base/generic.sass +2 -0
- data/node_modules/bulma/sass/components/_all.sass +12 -12
- data/node_modules/bulma/sass/components/breadcrumb.sass +2 -0
- data/node_modules/bulma/sass/components/card.sass +23 -3
- data/node_modules/bulma/sass/components/dropdown.sass +3 -1
- data/node_modules/bulma/sass/components/level.sass +3 -1
- data/node_modules/bulma/sass/components/media.sass +16 -9
- data/node_modules/bulma/sass/components/menu.sass +2 -0
- data/node_modules/bulma/sass/components/message.sass +2 -0
- data/node_modules/bulma/sass/components/modal.sass +2 -0
- data/node_modules/bulma/sass/components/navbar.sass +3 -0
- data/node_modules/bulma/sass/components/pagination.sass +19 -3
- data/node_modules/bulma/sass/components/panel.sass +3 -1
- data/node_modules/bulma/sass/components/tabs.sass +2 -0
- data/node_modules/bulma/sass/elements/_all.sass +12 -12
- data/node_modules/bulma/sass/elements/box.sass +3 -1
- data/node_modules/bulma/sass/elements/button.sass +27 -7
- data/node_modules/bulma/sass/elements/container.sass +2 -0
- data/node_modules/bulma/sass/elements/content.sass +4 -0
- data/node_modules/bulma/sass/elements/icon.sass +25 -0
- data/node_modules/bulma/sass/elements/image.sass +2 -0
- data/node_modules/bulma/sass/elements/notification.sass +2 -0
- data/node_modules/bulma/sass/elements/other.sass +2 -10
- data/node_modules/bulma/sass/elements/progress.sass +2 -0
- data/node_modules/bulma/sass/elements/table.sass +2 -0
- data/node_modules/bulma/sass/elements/tag.sass +2 -0
- data/node_modules/bulma/sass/elements/title.sass +2 -2
- data/node_modules/bulma/sass/form/_all.sass +6 -6
- data/node_modules/bulma/sass/form/file.sass +2 -0
- data/node_modules/bulma/sass/form/shared.sass +3 -0
- data/node_modules/bulma/sass/grid/_all.sass +2 -2
- data/node_modules/bulma/sass/grid/columns.sass +93 -84
- data/node_modules/bulma/sass/grid/tiles.sass +3 -1
- data/node_modules/bulma/sass/helpers/_all.sass +9 -9
- data/node_modules/bulma/sass/helpers/color.sass +2 -0
- data/node_modules/bulma/sass/helpers/float.sass +2 -0
- data/node_modules/bulma/sass/helpers/other.sass +3 -0
- data/node_modules/bulma/sass/helpers/position.sass +2 -0
- data/node_modules/bulma/sass/helpers/spacing.sass +1 -1
- data/node_modules/bulma/sass/helpers/typography.sass +5 -0
- data/node_modules/bulma/sass/helpers/visibility.sass +1 -1
- data/node_modules/bulma/sass/layout/_all.sass +3 -3
- data/node_modules/bulma/sass/layout/footer.sass +2 -0
- data/node_modules/bulma/sass/layout/hero.sass +8 -2
- data/node_modules/bulma/sass/layout/section.sass +6 -2
- data/node_modules/bulma/sass/utilities/_all.sass +6 -6
- data/node_modules/bulma/sass/utilities/animations.sass +1 -5
- data/node_modules/bulma/sass/utilities/controls.sass +2 -3
- data/node_modules/bulma/sass/utilities/derived-variables.sass +7 -0
- data/node_modules/bulma/sass/utilities/extends.sass +25 -0
- data/node_modules/bulma/sass/utilities/functions.sass +25 -4
- data/node_modules/bulma/sass/utilities/initial-variables.sass +5 -5
- data/node_modules/bulma/sass/utilities/mixins.sass +18 -23
- data/node_modules/bulma-block-list/.editorconfig +15 -0
- data/node_modules/bulma-block-list/.github/FUNDING.yml +12 -0
- data/node_modules/bulma-block-list/changelog.txt +20 -0
- data/node_modules/bulma-block-list/docs/Gemfile +2 -2
- data/node_modules/bulma-block-list/docs/_config.yml +2 -0
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +5 -1
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +30 -2
- data/node_modules/bulma-block-list/docs/index.html +106 -7
- data/node_modules/bulma-block-list/package.json +10 -44
- data/node_modules/bulma-block-list/src/block-list.scss +30 -2
- data/package-lock.json +32 -15
- data/package.json +2 -2
- metadata +20 -67
- data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +0 -1390
- data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +0 -21
- data/node_modules/bulma-block-list/node_modules/bulma/README.md +0 -130
- data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +0 -9
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +0 -10855
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +0 -1
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +0 -1
- data/node_modules/bulma-block-list/node_modules/bulma/package.json +0 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +0 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +0 -142
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +0 -281
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +0 -79
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +0 -15
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +0 -75
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +0 -79
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +0 -81
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +0 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +0 -39
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +0 -50
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +0 -57
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +0 -99
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +0 -113
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +0 -441
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +0 -150
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +0 -119
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +0 -151
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +0 -15
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +0 -24
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +0 -323
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +0 -24
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +0 -155
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +0 -1
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +0 -21
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +0 -71
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +0 -43
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +0 -39
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +0 -67
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +0 -127
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +0 -128
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +0 -70
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +0 -8
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +0 -21
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +0 -180
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +0 -64
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +0 -85
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +0 -55
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +0 -205
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +0 -4
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +0 -504
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +0 -34
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +0 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +0 -9
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +0 -145
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +0 -13
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +0 -8
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +0 -50
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +0 -106
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +0 -110
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +0 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +0 -261
data/_includes/header.html
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
{% for item in site.data.navigation %}
|
|
18
18
|
{% if item.dropdown %}
|
|
19
19
|
<div class="navbar-item has-dropdown is-hoverable {% if site.fixed_navbar == 'bottom' %} has-dropdown-up {% endif %}">
|
|
20
|
-
<a href="{{ item.link | relative_url }}" class="navbar-link {% if
|
|
20
|
+
<a href="{{ item.link | relative_url }}" class="navbar-link {% if page.url contains item.link %}is-active{% endif %}">{{ item.name }}</a>
|
|
21
21
|
<div class="navbar-dropdown">
|
|
22
22
|
{% for subitem in item.dropdown %}
|
|
23
23
|
<a href="{{ subitem.link | relative_url }}" class="navbar-item {% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a>
|
data/_includes/image-modal.html
CHANGED
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
<img src="{{ include.link | absolute_url }}" alt="{{ include.alt }}">
|
|
14
14
|
{% endif %}
|
|
15
15
|
</div>
|
|
16
|
-
<button class="modal-close is-large" aria-label="close" @click="
|
|
16
|
+
<button class="modal-close is-large" aria-label="close" @click="open = false"></button>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
data/_includes/notification.html
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
<button class="delete" x-on:click="visible = false"></button>
|
|
5
5
|
{% endif %}
|
|
6
6
|
<article class="media">
|
|
7
|
-
{%
|
|
7
|
+
{% if include.icon != 'false' %}
|
|
8
8
|
<div class="media-left">
|
|
9
9
|
<span class="icon"><i class="{{ include.icon | default: 'fas fa-exclamation-circle' }} fa-lg"></i></span>
|
|
10
10
|
</div>
|
|
11
|
-
{%
|
|
11
|
+
{% endif %}
|
|
12
12
|
<div class="media-content">
|
|
13
13
|
<div class="content">{{ include.message | markdownify }}</div>
|
|
14
14
|
</div>
|
|
@@ -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/default.html
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
{% include callouts.html %}
|
|
24
24
|
<section class="section">
|
|
25
25
|
<div class="container">
|
|
26
|
-
<div class="columns">
|
|
26
|
+
<div class="columns is-multiline">
|
|
27
27
|
{% if page.menubar_toc %}
|
|
28
28
|
<div class="column is-4-desktop is-4-tablet">
|
|
29
29
|
{% assign contentsTitle = page.toc_title | default: 'Contents' %}
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
{{ content }}
|
|
43
43
|
</div>
|
|
44
44
|
{% if site.posts and page.show_sidebar %}
|
|
45
|
-
<div class="column is-4-desktop is-
|
|
45
|
+
<div class="column is-4-desktop is-4-tablet">
|
|
46
46
|
{% include latest-posts.html %}
|
|
47
47
|
</div>
|
|
48
48
|
{% endif %}
|
data/_layouts/post.html
CHANGED
data/_layouts/recipe.html
CHANGED
|
@@ -47,6 +47,21 @@ layout: default
|
|
|
47
47
|
</script>
|
|
48
48
|
|
|
49
49
|
<div class="columns is-multiline">
|
|
50
|
+
<div class="column is-4">
|
|
51
|
+
<div class="box has-text-centered">
|
|
52
|
+
<strong>Serves:</strong> {{ page.recipe_yield }}
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="column is-4">
|
|
56
|
+
<div class="box has-text-centered">
|
|
57
|
+
<strong>Prep time:</strong> {{ page.prep_time | date: "%k hours %M minutes" }}
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="column is-4">
|
|
61
|
+
<div class="box has-text-centered">
|
|
62
|
+
<strong>Cook time:</strong> {{ page.cook_time | date: "%k hours %M minutes" }}
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
50
65
|
<div class="column is-4">
|
|
51
66
|
<div class="box">
|
|
52
67
|
<p class="title is-4">Ingredients</p>
|
|
@@ -67,6 +82,13 @@ layout: default
|
|
|
67
82
|
<li>{{ step }}</li>
|
|
68
83
|
{% endfor %}
|
|
69
84
|
</ol>
|
|
85
|
+
<div class="tags">
|
|
86
|
+
{% assign tags = page.keywords | split: "," %}
|
|
87
|
+
{% for tag in tags %}
|
|
88
|
+
{% include tag.html tag=tag %}
|
|
89
|
+
{% endfor %}
|
|
90
|
+
</div>
|
|
91
|
+
|
|
70
92
|
<p>Published: {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
|
|
71
93
|
</div>
|
|
72
94
|
<div class="content">
|
|
@@ -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,21 @@
|
|
|
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.6.0",
|
|
14
|
+
"resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.6.0.tgz",
|
|
15
|
+
"integrity": "sha512-Ub+5DS14YN1zTxfq2WbP7c3wfUKq2SpOTbFa8brhHUJe73WSfIgXQg02SYpbYWGalEkaflIRjzGKX35N4/jGOA==",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"bulma": "^0.9.3"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|