summoner-jekyll-theme 1.4.0 → 1.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba69f73622a2512864411f07bdc83c2e633596eaed3c26e1d7cd8cde79d3ab98
4
- data.tar.gz: 8d308a767786fce4345d701b2b06ffb6b395088a750d370bafe3d21bce0945d3
3
+ metadata.gz: 949d693eb28045e565206a5a8094c63f787fb621676468d118cc9b904a511e22
4
+ data.tar.gz: 0b588b3489ca6cc9167236fc9c2aed4eb592426b7f6763748aaa3ad2ca90a012
5
5
  SHA512:
6
- metadata.gz: 7975018a1a0ed3b303df2b5a8ae5822bd8cfbbce9bc9e5dec1caa575a389c7e0260bef4198e709948357fed0603a28509c12482778e4bcbd7d4114bcdb6f0c50
7
- data.tar.gz: 0f7692d9bdb3ea7ce7ae9f47a044dea8d43e6da991cc9be8d36f187b693fd5222f70b513cd6655f1ea7fa8067ee337ad36fb46ce8a9f214cb5d17a592557dcf3
6
+ metadata.gz: 8aae3fecf0e1b4a5f1b764f941d752bf48ceace4c0e7fa11c205d45f41175600c02bd30bf866589a003a210f460609d14e1d10a004cb85ed6cdad7b4d1c5112e
7
+ data.tar.gz: f97d7878ba6d4c3952bafbf2b96dc5f94daf0d05dfa3a3f21f1eb7e3157f6ec885b82fc99b7a33bc8b13e34c751d31595db0191f4b9a55ab6804b2affc487fc1
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # summoner-jekyll-theme
2
2
 
3
- My [Jekyll](https://jekyllrb.com/) theme for my personal blog, https://summoning.net, designed to be simple and minimal.
3
+ My [Jekyll](https://jekyllrb.com/) theme for my personal blog,
4
+ https://summoning.net, designed to be simple and minimal.
4
5
 
5
6
  ## Installation
6
7
 
@@ -14,7 +15,8 @@ And add this line to your Jekyll site's `_config.yml`:
14
15
  theme: summoner-jekyll-theme
15
16
  ```
16
17
 
17
- If you're using the `github-pages` gem, use `remote_theme` in `_config.yml` intead:
18
+ If you're using the `github-pages` gem, use `remote_theme` in
19
+ `_config.yml` intead:
18
20
  ```yaml
19
21
  remote_theme: pinecat/summoner-jekyll-theme
20
22
  ```
@@ -23,7 +25,7 @@ And then execute:
23
25
 
24
26
  $ bundle
25
27
 
26
- Or install it yourself as:
28
+ Or install it yourself with:
27
29
 
28
30
  $ gem install summoner-jekyll-theme
29
31
 
@@ -42,21 +44,24 @@ Or install it yourself as:
42
44
  #### Misc.
43
45
 
44
46
  - The theme supports jekyll-feed, default link is to `/blog/feed.xml`
45
- - It is expected for the homepage to mostly be a set of links to other areas on the site. Use of the .nav class is recommended to wrap your links in:
47
+ - It is expected for the homepage to mostly be a set of links to other
48
+ areas on the site. Use of the `nav` element is recommended to wrap your
49
+ links in:
46
50
  ```html
47
- <div class="nav">
51
+ <nav>
48
52
  <a href="/blog">blog</a>
49
53
  <a href="/blog/feed.xml">rss</a>
50
- </div>
51
- <div class="nav">
54
+ </nav>
55
+ <nav>
52
56
  <a href="#">about</a>
53
57
  <a href="#">archive</a>
54
- </div>
58
+ </nav>
55
59
  ```
56
60
 
57
61
  ## Contributing
58
62
 
59
- Bug reports and pull requests are welcome on GitHub at https://github.com/pinecat/summoner-jekyll-theme.
63
+ Bug reports and pull requests are welcome on GitHub at
64
+ https://github.com/pinecat/summoner-jekyll-theme.
60
65
 
61
66
  ## Development
62
67
 
@@ -66,7 +71,17 @@ cd summoner-jekyll-theme
66
71
  bundle
67
72
  ```
68
73
 
74
+ ## Credits
75
+
76
+ The images on the index and 404 pages, respectively, were provided under
77
+ [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/) by
78
+ [VeskScans](https://megamitensei.fandom.com/wiki/User:VeskScans) on the
79
+ [Megami Tensei
80
+ Wiki](https://megamitensei.fandom.com/wiki/Megami_Tensei_Wiki).
81
+
69
82
  ## License
70
83
 
71
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
72
- The fonts shipped with the theme are all under the OFL, and a copy of each font's license can be found in the `_data` directory.
84
+ The theme is available as open source under the terms of the [MIT
85
+ License](https://opensource.org/licenses/MIT). The fonts shipped with
86
+ the theme are all under the OFL, and a copy of each font's license can
87
+ be found in the `_data` directory.
@@ -7,5 +7,5 @@
7
7
  {% endfor %}
8
8
  </ul>
9
9
  {% else %}
10
- <p>No topics found.</p>
11
- {% endif %}
10
+ <p>no topics found</p>
11
+ {% endif %}
data/_includes/date.html CHANGED
@@ -4,4 +4,4 @@
4
4
  {% else %}
5
5
  {{ page.date | date: "%B %d, %Y" }}
6
6
  {% endif %}
7
- </date>
7
+ </date>
@@ -0,0 +1,6 @@
1
+ {% assign words = content | number_of_words %}
2
+ {% if words < 360 %}
3
+ ~1 min,
4
+ {% else %}
5
+ ~{{ words | divided_by:180 }} mins,
6
+ {% endif %}
data/_layouts/404.html CHANGED
@@ -8,4 +8,4 @@ layout: default
8
8
  <h3>What are you still here for?</h3>
9
9
  </div>
10
10
 
11
- <div class="nav"><a href="/">home</a></div>
11
+ <nav><a href="/">home</a></nav>
@@ -3,14 +3,14 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="content">
6
- <div class="nav" style="margin-bottom: var(--space-i);">
7
- <a href="javascript:history.back()">back</a>
6
+ <nav style="margin-bottom: var(--space-i);">
7
+ <a href="/">back</a>
8
8
  <a href="/">home</a>
9
9
  <a href="/blog/feed">rss</a>
10
- </div>
10
+ </nav>
11
11
 
12
12
  <h1>archive</h1>
13
13
  <p>View posts regarding a specific topic.</p>
14
14
 
15
15
  {% include alltags.html %}
16
- </div>
16
+ </div>
data/_layouts/page.html CHANGED
@@ -3,11 +3,11 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="content">
6
- <div class="nav" style="margin-bottom: var(--space-i);">
7
- <a href="javascript:history.back()">back</a>
6
+ <nav style="margin-bottom: var(--space-i);">
7
+ <a href="/">back</a>
8
8
  <a href="/">home</a>
9
9
  <a href="/blog/feed.xml">rss</a>
10
- </div>
10
+ </nav>
11
11
 
12
12
  {{ content }}
13
13
  </div>
data/_layouts/post.html CHANGED
@@ -3,13 +3,14 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="content">
6
- <div class="nav">
7
- <a href="javascript:history.back()">back</a>
6
+ <nav>
7
+ <a href="/blog">back</a>
8
8
  <a href="/">home</a>
9
9
  <a href="/blog/feed.xml">rss</a>
10
- </div>
10
+ </nav>
11
11
 
12
12
  <h1>{{ page.title }}</h1>
13
+ {% include time.html %}
13
14
  {% include tags.html %}
14
15
  {% include date.html %}
15
16
 
@@ -18,4 +19,4 @@ layout: default
18
19
  <div class="spacing"></div>
19
20
  </div>
20
21
 
21
- <script src="/assets/js/copy.js"></script>
22
+ <script src="/assets/js/copy.js"></script>
@@ -1,3 +1,11 @@
1
+ @use "../mixins/media";
2
+
1
3
  date {
2
- float: right;
3
- }
4
+ float: none;
5
+ white-space: collapse;
6
+ display: table;
7
+
8
+ @include media.media(breakpoint) {
9
+ float: right;
10
+ }
11
+ }
@@ -1,6 +1,6 @@
1
1
  @use "../mixins/media";
2
2
 
3
- .nav {
3
+ nav {
4
4
  display: block;
5
5
 
6
6
  flex-direction: row;
@@ -19,7 +19,7 @@
19
19
  }
20
20
  }
21
21
 
22
- .content .nav {
22
+ .content nav {
23
23
  display: none;
24
24
 
25
25
  justify-content: space-between;
@@ -28,4 +28,4 @@
28
28
  @include media.media(breakpoint) {
29
29
  display: flex;
30
30
  }
31
- }
31
+ }
@@ -1,2 +1,2 @@
1
1
  tag {
2
- }
2
+ }
@@ -0,0 +1,2 @@
1
+ time {
2
+ }
@@ -1,4 +1,4 @@
1
- .nav img {
1
+ nav img {
2
2
  height: var(--space-m);
3
3
  width: var(--space-m);
4
- }
4
+ }
@@ -1,4 +1,4 @@
1
- .nav a {
1
+ nav a {
2
2
  text-decoration: none;
3
3
  color: var(--color-black);
4
4
  margin: 0 1.2rem;
@@ -9,4 +9,4 @@
9
9
  &:active {
10
10
  text-decoration: underline;
11
11
  }
12
- }
12
+ }
@@ -2,4 +2,4 @@
2
2
  @if $query == breakpoint {
3
3
  @media (min-width: 50rem) { @content; }
4
4
  }
5
- }
5
+ }
metadata CHANGED
@@ -1,16 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summoner-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rory Dudley
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
10
+ date: 2025-03-05 00:00:00.000000000 Z
12
11
  dependencies: []
13
- description:
14
12
  email:
15
13
  - rory.dudley@gmail.com
16
14
  executables: []
@@ -29,6 +27,7 @@ files:
29
27
  - _includes/listings.html
30
28
  - _includes/pagination.html
31
29
  - _includes/tags.html
30
+ - _includes/time.html
32
31
  - _layouts/404.html
33
32
  - _layouts/archive.html
34
33
  - _layouts/blog.html
@@ -43,6 +42,7 @@ files:
43
42
  - _sass/components/_paginator.scss
44
43
  - _sass/components/_spacing.scss
45
44
  - _sass/components/_tag.scss
45
+ - _sass/components/_time.scss
46
46
  - _sass/components/nav/_img.scss
47
47
  - _sass/components/nav/_link.scss
48
48
  - _sass/components/paginator/_link.scss
@@ -72,7 +72,6 @@ homepage: https://summoning.net
72
72
  licenses:
73
73
  - MIT
74
74
  metadata: {}
75
- post_install_message:
76
75
  rdoc_options: []
77
76
  require_paths:
78
77
  - lib
@@ -87,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
86
  - !ruby/object:Gem::Version
88
87
  version: '0'
89
88
  requirements: []
90
- rubygems_version: 3.5.23
91
- signing_key:
89
+ rubygems_version: 3.6.3
92
90
  specification_version: 4
93
91
  summary: My custom jekyll theme for https://summoning.net/.
94
92
  test_files: []