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.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/_layouts/default.html +2 -2
- 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: 95275d16ce9fa5553340768a3f3ad00a38a93ce8744a4933e8d19d2d3a32cc94
|
4
|
+
data.tar.gz: af8055534f635d1d622e9ef73ba9c8985a7649549aa278b419e6e135aa6e88fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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":
|
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
|
|
data/_layouts/default.html
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2025-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|