jekyll-theme-dashboard 0.0.1 → 0.0.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/_layouts/default.html +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52c412e29e47f09672ca6ba07e851cf55f4468dc43a49e15c250d0bcc5c9f875
4
- data.tar.gz: 25e718246e4aa0826415cde782b2a1320943b3e20c4fa8a79dd1062f6aceb48b
3
+ metadata.gz: 95275d16ce9fa5553340768a3f3ad00a38a93ce8744a4933e8d19d2d3a32cc94
4
+ data.tar.gz: af8055534f635d1d622e9ef73ba9c8985a7649549aa278b419e6e135aa6e88fb
5
5
  SHA512:
6
- metadata.gz: f179d6b8411a9256e0cc4b3e719d22b3eacc8ea9c5557a381cfec50742777007c512899257c6f29fb890565ab0ae22f6378550e5a32bb2b807b66fa1b2f7d66c
7
- data.tar.gz: 5aeea56608c9365e5302c7b17907918eca47c1404a2c833d3529a581daadbf84b4db3415f1706ad72170b7be98b385946ee26e5f3c39dd94daf25bf4caf4cd0a
6
+ metadata.gz: 1c29549a8d2ab91dda00b4f8e15b3bc621493b5c2ad2d88e347ad4525194a81fcd8d6b6b1b1858c47611d99ccb3a5948f0302abf3330117cd7ae9d5d09f55d85
7
+ data.tar.gz: 8ea588e86f05a4d44e78ed1ae213adb6eb5390508069fffd4b579c5c5608d8f4c2978ed65f0d16ba96ea82dd0ed8ba3d3c0e150bcf4131c8f7c95ab82d0995f6
data/README.md CHANGED
@@ -160,7 +160,9 @@ The theme displays information as a series of grouped cards, which must be speci
160
160
  # (ONLY USED WHEN TYPE IS "custom": the HTML file from the `_include` directory that provides the card body contents)
161
161
  include: custom-card-body.html
162
162
 
163
- # (OPTIONAL, AND ONLY USED WHEN TYPE IS "custom": a custom CSS class to add to the card body, defaults to no class)
163
+ # (OPTIONAL, AND ONLY USED WHEN TYPE IS "custom": CSS classes to add to the card, its header and its body, all default to no class)
164
+ card-class: my-custom-class
165
+ header-class: my-custom-class
164
166
  body-class: my-custom-class
165
167
  ```
166
168
 
@@ -177,8 +177,8 @@
177
177
 
178
178
  {% when "custom" %}
179
179
 
180
- <div class="card">
181
- <h2 class="card-header">{{ card.name | escape }}</h2>
180
+ <div class="card{% if card.card-class %} {{ card.card-class | escape }}{% endif %}">
181
+ <h2 class="card-header{% if card.header-class %} {{ card.header-class | escape }}{% endif %}">{{ card.name | escape }}</h2>
182
182
  <div class="card-body{% if card.body-class %} {{ card.body-class | escape }}{% endif %}">
183
183
  {% include {{ card.include }} %}
184
184
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-dashboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TensorWorks Pty Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-23 00:00:00.000000000 Z
11
+ date: 2025-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll