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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64e3a3cf4110f8d986903b10c1096034114fd368e2468cf274d93caede776a80
4
- data.tar.gz: e3a1e562e779741b1719c3b419a9b46fabd73bd2b0d0a0125c40daaff5170fd0
3
+ metadata.gz: 957db19fe7bbac03587b8b4870732266f3d8166a44787aeeaec0957193e03531
4
+ data.tar.gz: d182ab7d3c33759060400db40e67ad8812a8857f7caf951f571a62c65c20092b
5
5
  SHA512:
6
- metadata.gz: 84890a8f7a2e6804fd6cf9ac90794e49782c53553b71c2910555073d46cf60e118a082ab166f738fc09250186a4b7c7ef18e78624e0d121e621427d8e156f7e5
7
- data.tar.gz: 82db7fe119d23d4d497d35575968c831d40b8359816707a5a9ad74cd49e4bf5de687df9c0b6d47211c1520d14f0c8c5f980705f8f39b3d14813876ff89bbfffc
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
@@ -20,6 +20,7 @@
20
20
  <div id="layout">
21
21
  <main id="content">
22
22
  <section>
23
+ <h1>{{ page.title }}</h1>
23
24
  {{ content }}
24
25
  </section>
25
26
  </main>
data/_layouts/post.html CHANGED
@@ -2,4 +2,8 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
+ <p>
6
+ <small>{{ page.date | date: "%d.%m.%Y" }}</small>
7
+ </p>
8
+
5
9
  {{ content }}
@@ -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.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: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll