jekyll-theme-miniplex 0.4.0 → 0.6.0
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 +23 -0
- data/_config.yml +5 -0
- data/_layouts/default.html +1 -0
- data/_layouts/post.html +4 -0
- data/_sass/jekyll-theme-miniplex.sass +15 -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: 957db19fe7bbac03587b8b4870732266f3d8166a44787aeeaec0957193e03531
|
4
|
+
data.tar.gz: d182ab7d3c33759060400db40e67ad8812a8857f7caf951f571a62c65c20092b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ec3ade4ac53665c1ed4acfa78f694ffb82de64a813434c68327acbd2ba8dd1cae28af7b7a8e02f8112021710a24213ee00ef05ac8536b15dd212894e3ca749
|
7
|
+
data.tar.gz: 3e28adc635b0668bf434cdc6ed0374dd7f03cfcc34ec50d4d3c2ef9172fc5dee062d57d1322295a79820ad81600aa226fa58808d0bfef5bbf7fd2163f2688d67
|
data/README.md
CHANGED
@@ -22,6 +22,9 @@ Add the following to your Jekyll site's `Gemfile`:
|
|
22
22
|
```ruby
|
23
23
|
gem "jekyll-theme-miniplex"
|
24
24
|
|
25
|
+
# jekyll-theme-miniplex depends on this.
|
26
|
+
gem "jekyll-titles-from-headings", "~> 0.5.3"
|
27
|
+
|
25
28
|
# Use the most recent version of jekyll-sass-converter, to force Dart Sass
|
26
29
|
gem "sass-embedded"
|
27
30
|
gem "jekyll-sass-converter", github: "jekyll/jekyll-sass-converter"
|
@@ -31,6 +34,11 @@ Add the following to your Jekyll site's `_config.yml`:
|
|
31
34
|
|
32
35
|
```yaml
|
33
36
|
theme: jekyll-theme-miniplex
|
37
|
+
|
38
|
+
titles_from_headings:
|
39
|
+
enabled: true
|
40
|
+
strip_title: true
|
41
|
+
collections: true
|
34
42
|
```
|
35
43
|
|
36
44
|
And then execute:
|
@@ -53,6 +61,21 @@ miniplex:
|
|
53
61
|
mobile_nav_menu_title: "Menü"
|
54
62
|
```
|
55
63
|
|
64
|
+
## ToDos & Missing Features
|
65
|
+
|
66
|
+
- [ ] Print CSS
|
67
|
+
- [ ] Breadcrumbs
|
68
|
+
- [ ] In-page navigation
|
69
|
+
- [ ] Footer
|
70
|
+
- [ ] Maximizable tables
|
71
|
+
- [ ] Side notes, if possible
|
72
|
+
- [ ] Dark mode
|
73
|
+
|
74
|
+
### Done
|
75
|
+
|
76
|
+
- [X] Add a post's date to the page layout, or to a separate post layout
|
77
|
+
|
78
|
+
|
56
79
|
## License
|
57
80
|
|
58
81
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_config.yml
CHANGED
@@ -6,6 +6,7 @@ title: Miniplex Theme for Jekyll
|
|
6
6
|
|
7
7
|
plugins:
|
8
8
|
- jekyll-coffeescript
|
9
|
+
- jekyll-titles-from-headings
|
9
10
|
|
10
11
|
exclude:
|
11
12
|
- .sass-cache/
|
@@ -23,3 +24,7 @@ exclude:
|
|
23
24
|
- vendor/gems/
|
24
25
|
- vendor/ruby/
|
25
26
|
|
27
|
+
titles_from_headings:
|
28
|
+
enabled: true
|
29
|
+
strip_title: true
|
30
|
+
collections: true # This makes it work for posts as well
|
data/_layouts/default.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -290,18 +290,24 @@ body
|
|
290
290
|
@include default_font
|
291
291
|
@include responsive_property(margin-bottom, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise:1 * $unit)
|
292
292
|
|
293
|
-
strong
|
293
|
+
strong, b
|
294
294
|
font-weight: bold
|
295
295
|
color: $heading_foreground_color
|
296
296
|
|
297
297
|
|
298
|
-
em
|
298
|
+
em, i
|
299
299
|
font-style: italic
|
300
|
+
|
301
|
+
small
|
302
|
+
@include responsive_property(font-size, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
303
|
+
color: $accent_color_1
|
300
304
|
|
301
305
|
a
|
302
306
|
color: $interactive-color
|
303
307
|
background-color: $interactive_background_color
|
304
308
|
text-decoration: none
|
309
|
+
padding-left: math.div($unit, 4)
|
310
|
+
padding-right: math.div($unit, 4)
|
305
311
|
|
306
312
|
h1
|
307
313
|
@include title_font
|
@@ -337,6 +343,13 @@ body
|
|
337
343
|
@include responsive_property(margin-top, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
338
344
|
@include responsive_property(margin-bottom, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
339
345
|
|
346
|
+
h6
|
347
|
+
@include heading_font
|
348
|
+
color: $primary_foreground_color
|
349
|
+
@include responsive_property(font-size, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
350
|
+
@include responsive_property(margin-top, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
351
|
+
@include responsive_property(margin-bottom, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
352
|
+
|
340
353
|
hr
|
341
354
|
border: 0
|
342
355
|
border-top: 1px solid $accent_color_1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-miniplex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timo Würsch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|