bulma-clean-theme 0.6 → 0.6.1
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 +3 -0
- data/_includes/showcase.html +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f6648a82bf48ab804187c7d92571e7a67a1b3d62521bfb861e883eb329f2f1c3
|
|
4
|
+
data.tar.gz: 7cff7df196f7fe0397f6f87dc8ffd0a1b2e02be79e52991d4bc0ec500663d458
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 667f3c97141da8bac19e339c49c46ea1eb5ba64d192e7086c28f1e6759364ab8fc7645e2a95ce2b76ebe43f80c724f8340ea04e5f2b25ed0202c829e9222cf44
|
|
7
|
+
data.tar.gz: be403f6606c71935cc163794965e867b0c71adc1bad08d45cb08161bd7ae130ec59ebce788fb650bc82627fa3512420fbb220fa52c9ba227345a6ed6e2ce6eba
|
data/README.md
CHANGED
|
@@ -418,6 +418,8 @@ The description text accepts markdown and is run through the markdownify filter
|
|
|
418
418
|
|
|
419
419
|
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.
|
|
420
420
|
|
|
421
|
+
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`
|
|
422
|
+
|
|
421
423
|
```yaml
|
|
422
424
|
intro: |-
|
|
423
425
|
This is some introduction text for the showcases.
|
|
@@ -438,6 +440,7 @@ items:
|
|
|
438
440
|
link: http://www.example.com
|
|
439
441
|
link_text: View example
|
|
440
442
|
tags: PHP,CSS,JavaScript
|
|
443
|
+
github: user/repo-name
|
|
441
444
|
```
|
|
442
445
|
|
|
443
446
|
#### Displaying the Showcase
|
data/_includes/showcase.html
CHANGED
|
@@ -15,6 +15,21 @@
|
|
|
15
15
|
<div class="column is-8-desktop is-12-tablet">
|
|
16
16
|
<p class="title">{{ showcase.title }}</p>
|
|
17
17
|
<p class="subtitle">{{ showcase.subtitle }}</p>
|
|
18
|
+
|
|
19
|
+
{% if showcase.github %}
|
|
20
|
+
<div class="buttons is-centered">
|
|
21
|
+
<a href="https://github.com/{{ showcase.github }}/stargazers" class="button is-white is-small">
|
|
22
|
+
<img alt="GitHub stars" src="https://img.shields.io/github/stars/{{ showcase.github }}?style=social">
|
|
23
|
+
</a>
|
|
24
|
+
<a href="https://github.com/{{ showcase.github }}/network/members" class="button is-white is-small">
|
|
25
|
+
<img alt="GitHub forks" src="https://img.shields.io/github/forks/{{ showcase.github }}?style=social">
|
|
26
|
+
</a>
|
|
27
|
+
<a href="https://github.com/{{ showcase.github }}/watchers" class="button is-white is-small">
|
|
28
|
+
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/{{ showcase.github }}?style=social">
|
|
29
|
+
</a>
|
|
30
|
+
</div>
|
|
31
|
+
{% endif %}
|
|
32
|
+
|
|
18
33
|
<div class="content">
|
|
19
34
|
<p>{{ showcase.description | markdownify }}</p>
|
|
20
35
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bulma-clean-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- chrisrhymes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|