bulma-clean-theme 0.8.1 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +61 -0
- data/_includes/callouts.html +2 -2
- data/_includes/footer.html +1 -1
- data/_includes/gallery.html +25 -0
- data/_includes/head.html +2 -1
- data/_includes/header.html +3 -3
- data/_includes/hero.html +1 -1
- data/_includes/image-modal.html +18 -0
- data/_includes/menubar.html +2 -2
- data/_includes/notification.html +10 -0
- data/_includes/post-card.html +5 -1
- data/_includes/showcase.html +1 -1
- data/_includes/tabs.html +1 -1
- data/_includes/youtube.html +8 -0
- data/_layouts/default.html +1 -0
- data/_layouts/product-category.html +1 -1
- data/_posts/2020-10-17-post-with-summary.md +23 -0
- data/_sass/_layout.scss +14 -0
- data/_sass/_main.scss +2 -0
- data/node_modules/bulma-block-list/docs/Gemfile +3 -0
- data/node_modules/bulma-block-list/docs/_config.yml +15 -0
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +20 -0
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +92 -0
- data/node_modules/bulma-block-list/docs/_sass/_main.scss +20 -0
- data/node_modules/bulma-block-list/docs/assets/css/app.scss +7 -0
- data/node_modules/bulma-block-list/docs/favicon.ico +0 -0
- data/node_modules/bulma-block-list/docs/index.html +249 -261
- data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
- data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
- data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
- data/node_modules/{bulma → bulma-block-list/node_modules/bulma}/sass/components/list.sass +0 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
- data/node_modules/bulma-block-list/package.json +10 -10
- data/node_modules/bulma-block-list/src/block-list.scss +24 -1
- data/node_modules/bulma/CHANGELOG.md +95 -0
- data/node_modules/bulma/README.md +3 -2
- data/node_modules/bulma/bulma.sass +2 -1
- data/node_modules/bulma/css/bulma-rtl.css +11624 -0
- data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
- data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
- data/node_modules/bulma/css/bulma.css +7233 -6464
- 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 +21 -18
- data/node_modules/bulma/sass/base/_all.sass +1 -1
- data/node_modules/bulma/sass/base/generic.sass +2 -1
- data/node_modules/bulma/sass/base/helpers.sass +1 -281
- data/node_modules/bulma/sass/base/minireset.sass +1 -1
- data/node_modules/bulma/sass/components/_all.sass +1 -1
- data/node_modules/bulma/sass/components/breadcrumb.sass +3 -3
- data/node_modules/bulma/sass/components/card.sass +5 -1
- data/node_modules/bulma/sass/components/dropdown.sass +3 -3
- data/node_modules/bulma/sass/components/level.sass +2 -2
- data/node_modules/bulma/sass/components/media.sass +10 -8
- data/node_modules/bulma/sass/components/menu.sass +2 -2
- data/node_modules/bulma/sass/components/message.sass +1 -1
- data/node_modules/bulma/sass/components/modal.sass +5 -3
- data/node_modules/bulma/sass/components/navbar.sass +12 -10
- data/node_modules/bulma/sass/components/panel.sass +2 -2
- data/node_modules/bulma/sass/components/tabs.sass +35 -12
- data/node_modules/bulma/sass/elements/_all.sass +1 -0
- data/node_modules/bulma/sass/elements/button.sass +10 -8
- data/node_modules/bulma/sass/elements/container.sass +10 -7
- data/node_modules/bulma/sass/elements/content.sass +5 -5
- data/node_modules/bulma/sass/elements/notification.sass +10 -3
- data/node_modules/bulma/sass/elements/progress.sass +5 -1
- data/node_modules/bulma/sass/elements/table.sass +6 -2
- data/node_modules/bulma/sass/elements/tag.sass +27 -17
- data/node_modules/bulma/sass/form/_all.sass +1 -0
- data/node_modules/bulma/sass/form/checkbox-radio.sass +3 -2
- data/node_modules/bulma/sass/form/file.sass +5 -3
- data/node_modules/bulma/sass/form/input-textarea.sass +3 -1
- data/node_modules/bulma/sass/form/select.sass +7 -5
- data/node_modules/bulma/sass/form/shared.sass +2 -0
- data/node_modules/bulma/sass/form/tools.sass +21 -11
- data/node_modules/bulma/sass/grid/_all.sass +1 -0
- data/node_modules/bulma/sass/helpers/_all.sass +12 -0
- data/node_modules/bulma/sass/helpers/color.sass +37 -0
- data/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
- data/node_modules/bulma/sass/helpers/float.sass +8 -0
- data/node_modules/bulma/sass/helpers/other.sass +11 -0
- data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
- data/node_modules/bulma/sass/helpers/position.sass +5 -0
- data/node_modules/bulma/sass/helpers/spacing.sass +31 -0
- data/node_modules/bulma/sass/helpers/typography.sass +98 -0
- data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
- data/node_modules/bulma/sass/layout/_all.sass +1 -0
- data/node_modules/bulma/sass/layout/hero.sass +4 -2
- data/node_modules/bulma/sass/utilities/_all.sass +1 -0
- data/node_modules/bulma/sass/utilities/derived-variables.sass +2 -1
- data/node_modules/bulma/sass/utilities/functions.sass +5 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +1 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +24 -0
- data/package-lock.json +13 -6
- data/package.json +2 -2
- metadata +100 -31
- data/node_modules/bulma-block-list/docs/demo.css +0 -7241
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d810060e0eec98758c417783dd55371be2a45bb153181abd275d5dd5c652b237
|
4
|
+
data.tar.gz: 7dc31995e73b1924ebeca83c2a7ebb3cce43ca6463be9c39539f2b453c64a4d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c853f3b596c4b0a8658251a52e9dd601b4f04c7910cd1b7705f69de0282354ce7a70e805c70ccbd9da255e80f0b67a037205843346b534ea0a6f7cde4e432523
|
7
|
+
data.tar.gz: 168f4189d2ef90b0cacc141e1b96a969ae9ccc87c0533c3c474557024a3cf274819a5dfafb55c5871d6fcd0a3f24bb9a8d8e1bd2d728a7ac6abfcf3de251aae9
|
data/README.md
CHANGED
@@ -18,6 +18,7 @@ This is a clean and simple Jekyll Theme built with the [Bulma](https://bulma.io/
|
|
18
18
|
* [Sidebar Visibility](#sidebar-visibility)
|
19
19
|
* [Menubar](#menubar)
|
20
20
|
* [Tabs](#tabs)
|
21
|
+
* [Notifications](#notifications)
|
21
22
|
* [Google Analytics](#google-analytics)
|
22
23
|
* [Footer](#footer)
|
23
24
|
* [Products](#products)
|
@@ -26,6 +27,7 @@ This is a clean and simple Jekyll Theme built with the [Bulma](https://bulma.io/
|
|
26
27
|
* [Favicon](#favicon)
|
27
28
|
* [Showcases](#showcases)
|
28
29
|
* [Sponsors](#sponsors)
|
30
|
+
* [Gallery](#gallery)
|
29
31
|
* [Disqus](#disqus)
|
30
32
|
* [Contributing](#contributing)
|
31
33
|
* [Development](#development)
|
@@ -98,6 +100,19 @@ paginate_path: "/blog/page:num"
|
|
98
100
|
|
99
101
|
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
|
100
102
|
|
103
|
+
#### Post Excerpt and Summary
|
104
|
+
|
105
|
+
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.
|
106
|
+
|
107
|
+
```yaml
|
108
|
+
layout: post
|
109
|
+
title: The post title
|
110
|
+
summary: |-
|
111
|
+
This is the custom summary for the post.
|
112
|
+
|
113
|
+
It can be in **markdown format** if required.
|
114
|
+
```
|
115
|
+
|
101
116
|
#### Social Share Buttons
|
102
117
|
|
103
118
|
Share buttons will be displayed on your posts unless you hide them by adding `hide_share_buttons: true` to your config file.
|
@@ -254,6 +269,13 @@ You can add icons to your tab by passing in the [Font Awesome icon class](https:
|
|
254
269
|
|
255
270
|
If you don't wish to show icons then simply omit the option from your yaml file.
|
256
271
|
|
272
|
+
### Notifications
|
273
|
+
|
274
|
+
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.
|
275
|
+
|
276
|
+
```liquid
|
277
|
+
{% include notification.html message="This is the message for the notification" %}
|
278
|
+
```
|
257
279
|
|
258
280
|
### Google Analytics
|
259
281
|
|
@@ -516,6 +538,45 @@ title: My Sponsors Page
|
|
516
538
|
sponsors: my_sponsors
|
517
539
|
```
|
518
540
|
|
541
|
+
### Gallery
|
542
|
+
|
543
|
+
Display a simple image gallery on a page, with image descriptions.
|
544
|
+
|
545
|
+
#### Create an image gallery data file
|
546
|
+
|
547
|
+
Start by creating a gallery data file using the below format, for example `my_gallery.yml`.
|
548
|
+
|
549
|
+
```yaml
|
550
|
+
- title: Image Gallery Title
|
551
|
+
images:
|
552
|
+
- link: https://via.placeholder.com/800x450
|
553
|
+
large_link: https://via.placeholder.com/1200x675
|
554
|
+
alt: The alt text for the image
|
555
|
+
description: |-
|
556
|
+
The image description can be written in **markdown** if required
|
557
|
+
ratio: is-16by9
|
558
|
+
- link: https://via.placeholder.com/800x600
|
559
|
+
large_link: https://via.placeholder.com/1200x675
|
560
|
+
alt: The alt text for the image
|
561
|
+
description: The image description
|
562
|
+
ratio: is-4by3
|
563
|
+
```
|
564
|
+
|
565
|
+
* 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.
|
566
|
+
* The description can be plain text or it can be markdown if required.
|
567
|
+
* The alt will be used as the images alt text.
|
568
|
+
* The large_link displays in a modal when the image is clicked
|
569
|
+
|
570
|
+
#### Displaying the gallery
|
571
|
+
|
572
|
+
In your pages front matter add a gallery with the datafiles filename without the extension.
|
573
|
+
|
574
|
+
```yaml
|
575
|
+
layout: page
|
576
|
+
title: My Image Gallery
|
577
|
+
gallery: my_gallery
|
578
|
+
```
|
579
|
+
|
519
580
|
### Disqus
|
520
581
|
|
521
582
|
Disqus comments are available for posts. To be able to use them, you need to set your disqus shortname in `_config.yml`. Then you need to set your Jekyll environment to production:
|
data/_includes/callouts.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
{% for callout in callouts.items %}
|
8
8
|
<div class="column is-4 has-text-centered">
|
9
9
|
{% if callout.icon %}
|
10
|
-
<div class="icon
|
10
|
+
<div class="icon callout-icon">
|
11
11
|
{% if callout.icon_brand %}
|
12
12
|
<i class="fab {{ callout.icon }} fa-4x"></i>
|
13
13
|
{% else %}
|
@@ -25,7 +25,7 @@
|
|
25
25
|
{% endif %}
|
26
26
|
|
27
27
|
{% if callout.call_to_action_name %}
|
28
|
-
<a href="{{ callout.call_to_action_link |
|
28
|
+
<a href="{{ callout.call_to_action_link | relative_url }}" class="button is-primary">
|
29
29
|
{{ callout.call_to_action_name }}
|
30
30
|
</a>
|
31
31
|
{% endif %}
|
data/_includes/footer.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
{% for item in site.data[site.footer_menu] %}
|
7
7
|
<div class="column has-text-centered">
|
8
8
|
<div>
|
9
|
-
<a href="{{ item.link |
|
9
|
+
<a href="{{ item.link | relative_url }}" class="link">{{ item.name }}</a>
|
10
10
|
</div>
|
11
11
|
</div>
|
12
12
|
{% endfor %}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{% if page.gallery %}
|
2
|
+
{% assign galleries=site.data.[page.gallery] %}
|
3
|
+
{% for gallery in galleries %}
|
4
|
+
<div class="columns is-multiline">
|
5
|
+
<div class="column is-12">
|
6
|
+
<p class="title is-3 has-text-centered">{{ gallery.title }}</p>
|
7
|
+
</div>
|
8
|
+
{% for image in gallery.images %}
|
9
|
+
<div class="column is-4-desktop is-6-tablet">
|
10
|
+
<div class="card">
|
11
|
+
<div class="card-image">
|
12
|
+
{% include image-modal.html ratio=image.ratio link=image.link alt=image.alt large_link=image.large_link %}
|
13
|
+
</div>
|
14
|
+
<div class="card-content">
|
15
|
+
<div class="content">
|
16
|
+
{{ image.description | markdownify }}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
{% endfor %}
|
23
|
+
</div>
|
24
|
+
{% endfor %}
|
25
|
+
{% endif %}
|
data/_includes/head.html
CHANGED
@@ -4,8 +4,9 @@
|
|
4
4
|
<title>{{ page.title }} - {{ site.title }}</title>
|
5
5
|
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/app.css">
|
6
6
|
<link rel="shortcut icon" type="image/png"
|
7
|
-
{% if site.favicon %} href="{{ site.favicon |
|
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.7.0/dist/alpine.min.js" defer></script>
|
9
10
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
|
10
11
|
{% unless site.hide_share_buttons %}
|
11
12
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-social@1/bin/bulma-social.min.css">
|
data/_includes/header.html
CHANGED
@@ -18,15 +18,15 @@
|
|
18
18
|
{% for item in site.data.navigation %}
|
19
19
|
{% if item.dropdown %}
|
20
20
|
<div class="navbar-item has-dropdown is-hoverable">
|
21
|
-
<a href="{{ item.link |
|
21
|
+
<a href="{{ item.link | relative_url }}" class="navbar-link {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
|
22
22
|
<div class="navbar-dropdown">
|
23
23
|
{% for subitem in item.dropdown %}
|
24
|
-
<a href="{{ subitem.link |
|
24
|
+
<a href="{{ subitem.link | relative_url }}" class="navbar-item {% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a>
|
25
25
|
{% endfor %}
|
26
26
|
</div>
|
27
27
|
</div>
|
28
28
|
{% else %}
|
29
|
-
<a href="{{ item.link |
|
29
|
+
<a href="{{ item.link | relative_url }}" class="navbar-item {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
|
30
30
|
{% endif %}
|
31
31
|
{% endfor %}
|
32
32
|
{% endif %}
|
data/_includes/hero.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<h1 class="title is-2">{{ page.title }}</h1>
|
5
5
|
<p class="subtitle is-3">{{ page.subtitle }}</p>
|
6
6
|
{% if page.hero_link %}
|
7
|
-
<a href="{{ page.hero_link |
|
7
|
+
<a href="{{ page.hero_link | relative_url }}" class="button is-info is-large">{{ page.hero_link_text }}</a>
|
8
8
|
{% endif %}
|
9
9
|
</div>
|
10
10
|
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<div x-data="{ open: false }">
|
2
|
+
<a @click="open = true" title="View large image">
|
3
|
+
<figure class="image {{ include.ratio | default: is-16by9 }}">
|
4
|
+
<img src="{{ include.link | absolute_url }}" alt="{{ include.alt }}">
|
5
|
+
</figure>
|
6
|
+
</a>
|
7
|
+
<div class="modal" :class="{ 'is-active': open }">
|
8
|
+
<div class="modal-background" @click="open = false"></div>
|
9
|
+
<div class="modal-content">
|
10
|
+
{% if include.large_link %}
|
11
|
+
<img src="{{ include.large_link | absolute_url }}" alt="{{ include.alt }}">
|
12
|
+
{% else %}
|
13
|
+
<img src="{{ include.link | absolute_url }}" alt="{{ include.alt }}">
|
14
|
+
{% endif %}
|
15
|
+
</div>
|
16
|
+
<button class="modal-close is-large" aria-label="close" @click="{ open = false }"></button>
|
17
|
+
</div>
|
18
|
+
</div>
|
data/_includes/menubar.html
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
<ul class="menu-list">
|
7
7
|
{% for item in menu.items %}
|
8
8
|
<li>
|
9
|
-
<a href="{{ item.link |
|
9
|
+
<a href="{{ item.link | relative_url }}" class="{% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
|
10
10
|
{% if item.items %}
|
11
11
|
<ul>
|
12
12
|
{% for subitem in item.items %}
|
13
|
-
<li><a href="{{ subitem.link |
|
13
|
+
<li><a href="{{ subitem.link | relative_url }}" class="{% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a></li>
|
14
14
|
{% endfor %}
|
15
15
|
</ul>
|
16
16
|
{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<div class="notification {{ include.status | default: 'is-warning' }}" markdown="0">
|
2
|
+
<article class="media">
|
3
|
+
<div class="media-left">
|
4
|
+
<span class="icon"><i class="{{ include.icon | default: 'fas fa-exclamation-circle' }} fa-lg"></i></span>
|
5
|
+
</div>
|
6
|
+
<div class="media-content">
|
7
|
+
<div class="content">{{ include.message | markdownify }}</div>
|
8
|
+
</div>
|
9
|
+
</article>
|
10
|
+
</div>
|
data/_includes/post-card.html
CHANGED
@@ -13,7 +13,11 @@
|
|
13
13
|
{% if post.image %}
|
14
14
|
<a class="title is-4" href="{{ site.baseurl }}{{ post.url }}">{{ post.title}}</a>
|
15
15
|
{% endif %}
|
16
|
-
|
16
|
+
{% if post.summary %}
|
17
|
+
{{ post.summary | markdownify }}
|
18
|
+
{% else %}
|
19
|
+
<p>{{ post.excerpt }}</p>
|
20
|
+
{% endif %}
|
17
21
|
</div>
|
18
22
|
<div class="has-text-centered">
|
19
23
|
<a href="{{ site.baseurl }}{{ post.url }}" class="button is-primary">Read more</a>
|
data/_includes/showcase.html
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
{% for item in showcase.items %}
|
9
9
|
<section class="showcase">
|
10
10
|
<figure class="image {% if item.image_ratio %} {{ item.image_ratio }} {% else %} is-16by9 {% endif %}">
|
11
|
-
<img src="{{ item.image |
|
11
|
+
<img src="{{ item.image | relative_url }}" />
|
12
12
|
</figure>
|
13
13
|
<div class="showcase-content">
|
14
14
|
<div class="columns is-centered">
|
data/_includes/tabs.html
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<ul>
|
6
6
|
{% for tab in tabs.items %}
|
7
7
|
<li {% if tab.link == page.url %} class="is-active" {% endif %}>
|
8
|
-
<a href="{{ tab.link |
|
8
|
+
<a href="{{ tab.link | relative_url }}">
|
9
9
|
{% if tab.icon %}
|
10
10
|
<span class="icon is-small"><i class="fas {{ tab.icon }}" aria-hidden="true"></i></span>
|
11
11
|
{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: Example post with a summary
|
4
|
+
summary: |-
|
5
|
+
This is the custom summary for the post.
|
6
|
+
|
7
|
+
It can be in **markdown format** if required.
|
8
|
+
---
|
9
|
+
|
10
|
+
This is the text for the post. It won't be used as the excerpt as it will use the custom summary set in the post instead.
|
11
|
+
|
12
|
+
If the summary is not set it will use the default excerpt generated by Jekyll.
|
13
|
+
|
14
|
+
To use a custom summary, set the `summary` in the post's front matter.
|
15
|
+
|
16
|
+
```yaml
|
17
|
+
layout: post
|
18
|
+
title: Example post with a summary
|
19
|
+
summary: |-
|
20
|
+
This is the custom summary for the post.
|
21
|
+
|
22
|
+
It can be in **markdown format** if required.
|
23
|
+
```
|
data/_sass/_layout.scss
CHANGED
data/_sass/_main.scss
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
title: Bulma Block List
|
2
|
+
description: >- # this means to ignore newlines until "baseurl:"
|
3
|
+
Bulma Block List is a simple scss package extending Bulma with block style list elements
|
4
|
+
baseurl: "/bulma-block-list"
|
5
|
+
url: "https://www.csrhymes.com"
|
6
|
+
gh_sponsor: chrisrhymes
|
7
|
+
favicon: /favicon.ico
|
8
|
+
google_analytics: UA-49024852-2
|
9
|
+
remote_theme: chrisrhymes/bulma-clean-theme
|
10
|
+
|
11
|
+
# Build settings
|
12
|
+
markdown: kramdown
|
13
|
+
plugins:
|
14
|
+
- jekyll-feed
|
15
|
+
- github-pages
|
@@ -0,0 +1,20 @@
|
|
1
|
+
- label: Docs
|
2
|
+
items:
|
3
|
+
- name: How To Use
|
4
|
+
link: '/#how-to-use'
|
5
|
+
- name: Alignment
|
6
|
+
link: '/#alignment'
|
7
|
+
- name: Sizes
|
8
|
+
link: '/#sizes'
|
9
|
+
- name: Colours
|
10
|
+
link: '/#colours'
|
11
|
+
- name: Outlined
|
12
|
+
link: '/#outlined'
|
13
|
+
- name: Has Radius
|
14
|
+
link: '/#has-radius'
|
15
|
+
- name: Is Highlighted
|
16
|
+
link: '/#highlighted'
|
17
|
+
- name: List Item Overrides
|
18
|
+
link: '/#list-item-overrides'
|
19
|
+
- name: Combinations
|
20
|
+
link: '/#combinations'
|
@@ -0,0 +1,92 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
$block-list-separator: 0.25rem !default;
|
4
|
+
$block-list-highlight-width: 5px !default;
|
5
|
+
|
6
|
+
.content {
|
7
|
+
ul.block-list {
|
8
|
+
list-style: none;
|
9
|
+
margin-left: 0;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.block-list {
|
14
|
+
list-style: none;
|
15
|
+
|
16
|
+
li {
|
17
|
+
padding: ($gap / 2);
|
18
|
+
background: $light;
|
19
|
+
margin-bottom: $block-list-separator;
|
20
|
+
}
|
21
|
+
|
22
|
+
li.is-left,
|
23
|
+
&.is-left > li {
|
24
|
+
text-align: left;
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
li.is-centered,
|
29
|
+
&.is-centered > li {
|
30
|
+
text-align: center;
|
31
|
+
}
|
32
|
+
|
33
|
+
li.is-right,
|
34
|
+
&.is-right > li {
|
35
|
+
text-align: right;
|
36
|
+
}
|
37
|
+
|
38
|
+
li.is-small,
|
39
|
+
&.is-small > li {
|
40
|
+
font-size: $small-font-size;
|
41
|
+
padding: ($gap / 3);
|
42
|
+
}
|
43
|
+
|
44
|
+
li.is-normal,
|
45
|
+
&.is-normal > li {
|
46
|
+
font-size: $body-font-size;
|
47
|
+
}
|
48
|
+
|
49
|
+
li.is-large,
|
50
|
+
&.is-large > li {
|
51
|
+
font-size: $size-large;
|
52
|
+
}
|
53
|
+
|
54
|
+
li.has-radius,
|
55
|
+
&.has-radius > li {
|
56
|
+
border-radius: $radius;
|
57
|
+
}
|
58
|
+
|
59
|
+
li.is-highlighted,
|
60
|
+
&.is-highlighted > li {
|
61
|
+
border-left: $block-list-highlight-width $dark solid;
|
62
|
+
}
|
63
|
+
|
64
|
+
@each $name, $pair in $colors {
|
65
|
+
|
66
|
+
$color: nth($pair, 1);
|
67
|
+
$color-invert: nth($pair, 2);
|
68
|
+
|
69
|
+
li.is-#{$name},
|
70
|
+
&.is-#{$name} > li {
|
71
|
+
background: $color;
|
72
|
+
color: $color-invert;
|
73
|
+
}
|
74
|
+
|
75
|
+
&.is-#{$name} {
|
76
|
+
li.is-outlined,
|
77
|
+
&.is-outlined > li {
|
78
|
+
background: transparent;
|
79
|
+
color: $color;
|
80
|
+
border: 1px solid $color;
|
81
|
+
}
|
82
|
+
|
83
|
+
li.is-highlighted,
|
84
|
+
&.is-highlighted > li {
|
85
|
+
background: transparent;
|
86
|
+
color: $color;
|
87
|
+
border: 1px solid $color;
|
88
|
+
border-left: $block-list-highlight-width $color solid;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|