jekyll-theme-monty 1.2.1 → 1.2.3

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: ad51e254faae83e2cdf0624234c61c84128ffd51cc15f12ab26b6e99dd2650d5
4
- data.tar.gz: dc1b9bfdf646ddca495b54c022ba779dbf91bba9ab6239039d889949f9779446
3
+ metadata.gz: fefa320a61a8a9fb35d493415767ee98f489af207c01abe76bbb79d954eebf40
4
+ data.tar.gz: 2f2eecd6db5edc7816e8f57138666ebffea67fc18375cedd51c2af649e8012fe
5
5
  SHA512:
6
- metadata.gz: 10db16c81b0d0e055e845cb6354590486edaa22b89c09d2f4b3f7f4b399ae2c6ee61e7f22762891ad42b48ccc687713b8bc21c148803d1761b7f08e469511242
7
- data.tar.gz: '094591d497cb98ec577d7ce822c81ccf565c8fe80cb90bef035dbfbe6faefb7bb5037d5abb2545cb6bc48019914e198f0a4b6b8d57884b9723445e841eec8741'
6
+ metadata.gz: 88e94c6ee4d58b0f6e050abd9db423612386f781735d71a5b84c7f2b02cbb97accd7dd561a5e16fadd6219c3ddff4846e433a24264e1f641de867ea83afee9a7
7
+ data.tar.gz: 8f14d01dc8d1a996dee927a769d7e7d24b5b397ce6c29094c33a5588e5f24a394838f5ae1e80fec87ecc60184ac5d09c855f9705f25cd1ccfb1c9b6b99d953ec
data/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.2.3]
8
+
9
+ ### Fixed
10
+
11
+ - Set max width and height for images and figures
12
+
13
+ ## [1.2.2]
14
+
15
+ ### Fixed
16
+
17
+ - Stylesheet linking
18
+ - Replace language tag with locale
19
+ - Change icon in footer
20
+
7
21
  ## [1.2.1]
8
22
 
9
23
  ### Fixed
data/README.md CHANGED
@@ -40,7 +40,7 @@ title: [Your site's title]
40
40
  Additionally, you may choose to set the following optional variable:
41
41
 
42
42
  ```yaml
43
- language: [A language code; 'en' is default]
43
+ locale: [A locale code; 'en_US' is default]
44
44
  ```
45
45
 
46
46
  ### Front matter variables
data/_config.yml CHANGED
@@ -4,7 +4,7 @@ title: Monty
4
4
  tagline: A Jekyll theme
5
5
  description: Monty is a Jekyll theme inspired by CSS Naked Day.
6
6
 
7
- language: en
7
+ locale: en_US
8
8
 
9
9
  plugins:
10
10
  - jekyll-feed
@@ -20,7 +20,7 @@
20
20
  <li>© {{ 'now' | date: "%Y" }} {{ site.title }}</li>
21
21
  <li>⌘ <a href="{{ '/feed.xml' | relative_url }}">RSS</a></li>
22
22
  <li>
23
- 🗲 <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> &
23
+ <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> &
24
24
  <a href="https://github.com/brolun/jekyll-theme-monty" target="_blank"
25
25
  >Monty</a
26
26
  >
@@ -2,15 +2,12 @@
2
2
  ---
3
3
 
4
4
  <!DOCTYPE html>
5
- <html lang="{{ site.language | default: 'en' }}">
5
+ <html
6
+ lang="{{ page.locale | default: site.locale | default: 'en' | slice: 0 , 2 }}"
7
+ >
6
8
  <head>
7
9
  <meta charset="UTF-8" />
8
10
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
9
- <link
10
- rel="preload"
11
- href="{{ '/assets/css/styles.css' | relative_url }}"
12
- as="style"
13
- />
14
11
  <link
15
12
  rel="stylesheet"
16
13
  href="{{ '/assets/css/styles.css' | relative_url }}"
data/_sass/main.scss CHANGED
@@ -3,7 +3,7 @@ html {
3
3
  color: $primary;
4
4
  font-family: "Jost";
5
5
  line-height: 1.5;
6
- max-width: 80ch;
6
+ max-width: $width;
7
7
  padding: 16px;
8
8
  }
9
9
  :is(h2, h3, h4, h5, h6) {
@@ -18,7 +18,7 @@ footer ul {
18
18
  align-items: left;
19
19
  display: flex;
20
20
  flex-wrap: wrap;
21
- gap: 1em;
21
+ gap: $gap;
22
22
  list-style-type: none;
23
23
  margin: 0;
24
24
  padding: 0;
@@ -38,7 +38,20 @@ footer hr {
38
38
 
39
39
  // Images
40
40
  img {
41
- max-width: 100%;
41
+ max-width: calc(0.8 * #{$width});
42
+ max-height: calc(0.6 * #{$width});
43
+ }
44
+
45
+ figure {
46
+ display: flex;
47
+ flex-direction: column;
48
+ align-items: center;
49
+ gap: $gap;
50
+ }
51
+
52
+ figure figcaption {
53
+ max-width: calc(0.8 * #{$width});
54
+ font-size: 95%;
42
55
  }
43
56
 
44
57
  // Lists
data/_sass/variables.scss CHANGED
@@ -4,3 +4,7 @@ $primary: #222;
4
4
  // Typography
5
5
  $indentation: 20px;
6
6
  $border: 1px solid $primary;
7
+
8
+ // Size
9
+ $width: 80ch;
10
+ $gap: 1em;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-monty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - brolun
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-10 00:00:00.000000000 Z
11
+ date: 2025-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description:
41
+ description:
42
42
  email:
43
43
  - luna.brodersen@gmail.com
44
44
  executables: []
@@ -88,7 +88,7 @@ homepage: https://github.com/brolun/jekyll-theme-monty
88
88
  licenses:
89
89
  - MIT
90
90
  metadata: {}
91
- post_install_message:
91
+ post_install_message:
92
92
  rdoc_options: []
93
93
  require_paths:
94
94
  - lib
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubygems_version: 3.5.11
107
- signing_key:
107
+ signing_key:
108
108
  specification_version: 4
109
109
  summary: Monty is a Jekyll theme inspired by CSS Naked Day.
110
110
  test_files: []