jekyll-theme-tallneck 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7317de0c2a5e949b4c4c37c61d61bebe6a992d07a840e3d194ad4d3bc390adf1
4
- data.tar.gz: 1dc31c68accf10ef439cd94081ed4a08ff0077af622d7999a9f4d139aebfbad7
3
+ metadata.gz: ddf02b8f7f6e850a24e993895a48cf3c31d76e43d180773cadfa3bf938cafc8b
4
+ data.tar.gz: cfe54b4af2bd40773eb85cb2d6e9f3c98d29630dfef431c9c43db9f474fc456e
5
5
  SHA512:
6
- metadata.gz: 11b2f9e1aa44267b7a7b90890c362b78e1c30da689bc75e7c1f7e6f224fcb1e162a86d685e74795b86da3842d60104e3f8e5198f97d51ea69eaea52418b609b4
7
- data.tar.gz: 7f3a423c2d3a87460377ebce809718717d8fc8bd4b10660e6c109e4d0e8c9dfa5f26f96d15065a725b708f387223f1b6ace9734083a9a56d1e07540be9406989
6
+ metadata.gz: 7306c8150dde950bb95e4335b8f919921cc7748f60ea4541358281098469dd11899d8f438b68558c7b3f69e5671534d3832fe7cd7ca3e9b4fb344fc942f719da
7
+ data.tar.gz: f443a3bfdbc038e23af52d33fdf38dcaf3ce320fd52888307cea23efd29a39f3ebc0eda7e369c871e51c2d903326fe1835321763e4fa2aa0334e33e0168899e7
data/README.md CHANGED
@@ -58,7 +58,7 @@ theme: jekyll-theme-tallneck
58
58
  - [privacy.md](privacy.md)
59
59
  - [terms.md](terms.md)
60
60
 
61
- 4. Create the `assets/image` folder and put a replacement for the following images:
61
+ 4. Create the `assets/images` folder and put a replacement for the following images:
62
62
  - `favicon.ico` and `favicon.svg` that will be used as the favicon.
63
63
  - `logo.svg` that will be used as the home button.
64
64
  - `pwa_icon.svg`, `pwa_icon_x512.png`, `pwa_icon_x128.png`, `pwa_icon_x96.png` that will be used as the PWA icon. ([https://maskable.app/editor](https://maskable.app/editor) can be used to create the maskable icon)
@@ -77,7 +77,7 @@ layout: post # Optional, post is default
77
77
  title: "First post!"
78
78
  subtitle: "Written in Go." # Optional
79
79
  date: 2023-01-16 17:40:28 +0100
80
- image: /assets/image/golang.jpg # Optional
80
+ image: /assets/images/golang.jpg # Optional
81
81
  ---
82
82
  ```
83
83
 
data/_includes/head.html CHANGED
@@ -2,10 +2,9 @@
2
2
  <meta charset="UTF-8">
3
3
 
4
4
  <!-- Design meta -->
5
- <meta content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0" name="viewport">
6
- <meta content="#f0f0f0" media="(prefers-color-scheme: light)" name="theme-color">
7
- <meta content="#252525" media="(prefers-color-scheme: dark)" name="theme-color">
8
- <meta content="black-translucent" name="apple-mobile-web-app-status-bar-style">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta content="#fff" media="(prefers-color-scheme: light)" name="theme-color">
7
+ <meta content="#121212" media="(prefers-color-scheme: dark)" name="theme-color">
9
8
 
10
9
  {% if page.private %}
11
10
  <meta name="robots" content="noindex, nofollow">
@@ -15,10 +14,12 @@
15
14
  {% else if site.keywords %}
16
15
  <meta name="keywords" content="{{ site.keywords }}">
17
16
  {% endif %}
18
-
17
+ <meta name="robots" content="index, follow">
19
18
  {% seo %}
20
19
  {% endif %}
21
20
 
21
+ <link rel="alternate" type="application/atom+xml" title="Feed" href="{{ "/feed.xml" | absolute_url }}">
22
+
22
23
  <!-- Preload -->
23
24
  <link rel="preload" as="font" href="{{ "/assets/font/opensans/opensans.woff2" | relative_url }}" type="font/woff2" crossOrigin="anonymous">
24
25
  <link rel="preload" as="font" href="{{ "/assets/font/opensans/opensans-bold.woff2" | relative_url }}" type="font/woff2" crossOrigin="anonymous">
@@ -32,15 +33,15 @@
32
33
  <link rel="stylesheet" href="{{ "/assets/css/print.css" | relative_url }}" media="print" fetchpriority="low">
33
34
 
34
35
  <!-- Favicon -->
35
- <link rel="icon" href="{{ /assets/image/favicon.svg | relative_url }}" type="image/svg+xml">
36
- <link rel="icon" href="{{ /assets/image/favicon.ico | relative_url }}" sizes="any">
36
+ <link rel="icon" href="{{ /assets/images/favicon.svg | relative_url }}" type="image/svg+xml">
37
+ <link rel="icon" href="{{ /assets/images/favicon.ico | relative_url }}" sizes="any">
37
38
 
38
39
  <!-- PWA -->
39
40
  <meta name="theme-color" content="#282828"/>
40
41
  <meta content="yes" name="apple-mobile-web-app-capable">
41
42
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
42
43
  <link rel="manifest" href="/assets/sitemanifest.json">
43
- <link rel="apple-touch-icon" sizes="512x512" href="/assets/image/pwa_icon_x512.png">
44
+ <link rel="apple-touch-icon" sizes="512x512" href="/assets/images/pwa_icon_x512.png">
44
45
 
45
46
  <!-- Analytics -->
46
47
  {% if site.cloudflare %}
@@ -2,7 +2,7 @@
2
2
  <div class="page-header--container">
3
3
  <div class="header-logo">
4
4
  <a aria-label="Home" href="{{ '/' | relative_url }}">
5
- <img alt="Website logo" src="{{ '/assets/image/logo.svg' | relative_url }}" loading="eager" width="37px" height="37px">
5
+ <img alt="Website logo" src="{{ '/assets/images/logo.svg' | relative_url }}" loading="eager" width="37px" height="37px">
6
6
  </a>
7
7
  </div>
8
8
 
data/_layouts/about.html CHANGED
@@ -8,7 +8,6 @@ layout: base
8
8
  <h1>About me</h1>
9
9
  {% endif %}
10
10
 
11
- {% if site.social %}
12
11
  <nav class="about-social no_print">
13
12
  {% if site.github_url %}
14
13
  <a href="{{ site.github_url }}" title="GitHub" target="_blank" rel="noopener">
@@ -96,12 +95,13 @@ layout: base
96
95
  </a>
97
96
  {% endif %}
98
97
  </nav>
99
- {% endif %}
100
98
 
101
99
  <div class="about">
100
+ {% if page.image %}
102
101
  <div class="about--img">
103
- <img src="{{ site.about_image | relative_url }}" alt="About me" width="500px" height="500px">
102
+ <img src="{{ page.image | relative_url }}" alt="About me" width="500px" height="500px">
104
103
  </div>
104
+ {% endif %}
105
105
  <div class="about--content">
106
106
  {{ content }}
107
107
  </div>
@@ -2,8 +2,6 @@
2
2
  * Base
3
3
  */
4
4
  html {
5
- min-height: 100vh;
6
- min-height: 100svh;
7
5
  min-width: $min-width;
8
6
  }
9
7
 
@@ -2,7 +2,7 @@
2
2
  display: grid;
3
3
  gap: 1rem;
4
4
  grid-template-columns: 1fr 1fr 1fr 1fr;
5
- grid-template-rows: repeat(auto-fill, minmax($card-max-height, 1fr));
5
+ grid-auto-rows: minmax($card-min-height, 1fr);
6
6
 
7
7
  @media (max-width: 1100px) and (min-width: 800px) {
8
8
  grid-template-columns: 1fr 1fr;
@@ -27,7 +27,7 @@
27
27
 
28
28
  .post-card {
29
29
  max-width: $card-max-width;
30
- padding: 1rem;
30
+
31
31
 
32
32
  vertical-align: middle;
33
33
 
@@ -50,6 +50,8 @@
50
50
  .post-card--flex {
51
51
  display: flex;
52
52
  flex-flow: column nowrap;
53
+ height: 100%;
54
+ padding: 1rem;
53
55
  }
54
56
 
55
57
  .post-card--image {
@@ -69,13 +71,9 @@
69
71
 
70
72
  .post-card--subtitle {
71
73
  font-size: 0.95em;
72
- margin-block-start: 0rem;
74
+ margin-block-start: 0.5rem;
73
75
  margin-block-end: 0.5rem;
74
76
  flex-grow: 1;
75
-
76
- // from .justify
77
- text-align: justify;
78
- word-spacing: -2px;
79
77
  }
80
78
 
81
79
  .post-card--date {
@@ -11,7 +11,6 @@
11
11
 
12
12
  .post-preview {
13
13
  width: 100%;
14
- max-height: $preview-max-height;
15
14
 
16
15
  transition: 0.4s;
17
16
 
@@ -25,9 +25,7 @@ $content-width: 1000px !default;
25
25
 
26
26
  $card-max-width: 18rem !default;
27
27
  $card-min-width: 16rem !default;
28
- $card-max-height: 440px !default;
29
-
30
- $preview-max-height: 15rem !default;
28
+ $card-min-height: 400px !default;
31
29
 
32
30
  // Colors
33
31
  :root {
@@ -7,37 +7,37 @@
7
7
  "start_url": "/",
8
8
  "icons": [
9
9
  {
10
- "src": "/assets/image/pwa_icon.svg",
10
+ "src": "/assets/images/pwa_icon.svg",
11
11
  "sizes": "any",
12
12
  "type": "image/svg+xml",
13
13
  "purpose": "any"
14
14
  },
15
15
  {
16
- "src": "/assets/image/logo.svg",
16
+ "src": "/assets/images/logo.svg",
17
17
  "sizes": "any",
18
18
  "type": "image/svg+xml",
19
19
  "purpose": "monochrome"
20
20
  },
21
21
  {
22
- "src": "/assets/image/pwa_icon.svg",
22
+ "src": "/assets/images/pwa_icon.svg",
23
23
  "sizes": "any",
24
24
  "type": "image/svg+xml",
25
25
  "purpose": "maskable"
26
26
  },
27
27
  {
28
- "src": "/assets/image/pwa_icon_x96.png",
28
+ "src": "/assets/images/pwa_icon_x96.png",
29
29
  "sizes": "96x96",
30
30
  "type": "image/png",
31
31
  "purpose": "maskable"
32
32
  },
33
33
  {
34
- "src": "/assets/image/pwa_icon_x128.png",
34
+ "src": "/assets/images/pwa_icon_x128.png",
35
35
  "sizes": "128x128",
36
36
  "type": "image/png",
37
37
  "purpose": "maskable"
38
38
  },
39
39
  {
40
- "src": "/assets/image/pwa_icon_x512.png",
40
+ "src": "/assets/images/pwa_icon_x512.png",
41
41
  "sizes": "512x512",
42
42
  "type": "image/png",
43
43
  "purpose": "maskable"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-tallneck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Toniutti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-29 00:00:00.000000000 Z
11
+ date: 2024-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -147,15 +147,15 @@ files:
147
147
  - assets/icon/telegram.svg
148
148
  - assets/icon/threads.svg
149
149
  - assets/icon/x.svg
150
- - assets/image/about.webp
151
- - assets/image/default.webp
152
- - assets/image/favicon.ico
153
- - assets/image/favicon.svg
154
- - assets/image/logo.svg
155
- - assets/image/pwa_icon.svg
156
- - assets/image/pwa_icon_x128.png
157
- - assets/image/pwa_icon_x512.png
158
- - assets/image/pwa_icon_x96.png
150
+ - assets/images/about.webp
151
+ - assets/images/default.webp
152
+ - assets/images/favicon.ico
153
+ - assets/images/favicon.svg
154
+ - assets/images/logo.svg
155
+ - assets/images/pwa_icon.svg
156
+ - assets/images/pwa_icon_x128.png
157
+ - assets/images/pwa_icon_x512.png
158
+ - assets/images/pwa_icon_x96.png
159
159
  - assets/sitemanifest.json
160
160
  homepage: https://github.com/jotonedev/jekyll-theme-tallneck
161
161
  licenses:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes