bulma-clean-theme 0.6 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/_includes/showcase.html +15 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5cc9861987c14401d52c7673310e32769691eab6c94d2dfbe5cc4cd81533063
4
- data.tar.gz: 81d8d92d6e0108d9cf0c7463a0b911bcd99893839ad08373f82a77bf022263f0
3
+ metadata.gz: f6648a82bf48ab804187c7d92571e7a67a1b3d62521bfb861e883eb329f2f1c3
4
+ data.tar.gz: 7cff7df196f7fe0397f6f87dc8ffd0a1b2e02be79e52991d4bc0ec500663d458
5
5
  SHA512:
6
- metadata.gz: 03c3570fb2a58d5f918a968531a8382d6c262c522626755acb6516179ea90a77fadb982cb7fa12669115986b28c4e4042289e7b1124f0a032bea00b9e9da6e94
7
- data.tar.gz: 3d037f5529f0156239de5006b2ab4ad399fef1cbec0563adccd6c8543c42c2eed906cc689123b8c58838c9d0a5cc3cb6ab62e0f0738e956f559075d3b7e7b7e6
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
@@ -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: '0.6'
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 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll