jekyll-theme-nixer 1.0.3 → 1.0.5

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: 87216de2094f62232b0337d262666b55ce0bab6b412f415ea87bfbd5a45ded42
4
- data.tar.gz: 3ffb4be1d8ac02a05c1f9c4add7c1d69fc49e0c6bdea55a30cab54e445304689
3
+ metadata.gz: '0082f9a5a3a82d153c7119fec16b579e312408c138be0a06daaf4769b53968f6'
4
+ data.tar.gz: 5a8dcf6ad279dd523f4162183d1b919f872beaf0884ce54f33cdc93dfde18860
5
5
  SHA512:
6
- metadata.gz: 81208af2c4d451847a0b99cf3fb4b9f171bc80b0a8a6b908e5abe9ebfd25bc066e33344956bb45947f750d738c5886a17b73544905a52ccfc69262572cddec73
7
- data.tar.gz: a5133f2f4dec2755b1ef4c10b8bb6429334c337b37cb8753fdad9d479c397c196141c204b22ff09d20023955f4f0c06b6ba2fc45b1e64da6ef2be0be1176e0cd
6
+ metadata.gz: a3e607c0374d4e512a5e1a80f53e760ef8892a79a3bb11e1137d83b5dc1459e59a0d32379e7ed4035ed1d7b45793cf56b4fa2761110fe5ad456c9d6422818c25
7
+ data.tar.gz: 54272a0007c9f9e3dd7a87789c46c086bf62e59a30b66cfbcaee23054b92daf2bf5cfe83ee8fff26a72e17dbc2724d91ab99e2cd75ff27d450d8657901de96f2
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Jekyll Theme Nixer
2
2
 
3
- The even more barebones cousin of the barebones theme [<q>Nix</q>](https://github.com/michaelnordmeyer/jekyll-theme-nix) for [Jekyll](https://github.com/jekyll/jekyll), which doesn't need any dependencies except `jekyll-redirect-from`, if you want to redirect pages. It is optimized for fast build speeds as well.
3
+ The even more barebones cousin of the barebones theme [Nix](https://github.com/michaelnordmeyer/jekyll-theme-nix) for [Jekyll](https://github.com/jekyll/jekyll), which doesn't need any dependencies except `jekyll-redirect-from`, if you want to redirect pages. It is optimized for fast build speeds as well.
4
4
 
5
5
  Its purpose is to be a hard-core minimalistic, single-author theme while not displaying anything more than just the content of posts and a list of posts.
6
6
 
@@ -12,7 +12,7 @@ It is meant for people, who are aware that nobody is using RSS feeds anymore. Ei
12
12
 
13
13
  And people coming from hacker news or related sites know how to change the URL in the browser's address bar.
14
14
 
15
- If you think this goes too far, use the above mentioned [Jekyll theme <q>Nix</q>](https://github.com/michaelnordmeyer/jekyll-theme-nix) instead.
15
+ If you think this goes too far, use the above mentioned [Jekyll theme Nix](https://github.com/michaelnordmeyer/jekyll-theme-nix) instead.
16
16
 
17
17
  ## Limited Features
18
18
 
@@ -52,9 +52,9 @@ The favicon is currently `icon.webp` for the light mode, and there's also a dark
52
52
 
53
53
  ### Nixer?
54
54
 
55
- <q>Nix</q> is the grammatically incorrect form of the German <q>nichts</q>, which in English means <q>nothing</q>. It's colloquially used to stress the nothingness. <q>Nixer</q> is the even more grammatically incorrect comparative of that, which colloquially may or may not being used at all.
55
+ Nix is the grammatically incorrect form of the German nichts”, which in English means nothing”. It's colloquially used to stress the nothingness. Nixer is the even more grammatically incorrect comparative of that, which colloquially may or may not being used at all.
56
56
 
57
- Or, if you will, it could be UNIX without the <q>U</q>, because of the theme's somewhat archaic properties, but even more archaic.
57
+ Or, if you will, it could be UNIX without the U”, because of the theme's somewhat archaic properties, but even more archaic.
58
58
 
59
59
  ## Installation
60
60
 
@@ -96,6 +96,6 @@ Finally, add `jekyll-remote-theme` to your plugin section in `_config.yml` as we
96
96
 
97
97
  ## Sitemap.xml
98
98
 
99
- A s`itemap.xml` is already included in the theme and doesn't need a dependency to `jekyll-sitemap`. For a standard Jekyll installation, it works out-of-the-box.
99
+ A `sitemap.xml` is already included in the theme and doesn't need a dependency to `jekyll-sitemap`. For a standard Jekyll installation, it works out-of-the-box.
100
100
 
101
101
  If hosted with the Github pages plugin, this plugin is already included and will automatically be used instead. To overwrite this, the file has to be copied manually from the theme's repository root to the site's repository root.
data/_config.yml CHANGED
@@ -1,11 +1,13 @@
1
1
  ### Remove URL for Github Pages
2
2
  url: https://jekyll-theme-nixer.michaelnordmeyer.com
3
+ icon: /icon.webp
4
+ icon_type: image/webp
3
5
  title: Jekyll Theme Nixer
4
6
  description: "An even more barebones theme for Jekyll"
5
7
 
6
8
  timezone: Europe/Berlin
7
9
  ignore_theme_config: true
8
- exclude: [CNAME, Gemfile, Gemfile.lock, LICENSE, README.md]
10
+ exclude: [jekyll-theme-nixer*, LICENSE, README.md]
9
11
  date_format: "%Y-%m-%d"
10
12
 
11
13
  plugins:
@@ -3,8 +3,9 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="icon" type="image/webp" href="{{ '/icon.webp' | relative_url }}">
6
+ <link rel="icon" type="{{ site.icon_type }}" href="{{ site.icon | relative_url }}">
7
7
  <style>
8
+ :root { color-scheme: light dark; }
8
9
  html {
9
10
  max-width: 43rem;
10
11
  margin: 0 auto;
data/_layouts/error.html CHANGED
@@ -3,8 +3,9 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="icon" type="image/webp" href="{{ '/icon.webp' | relative_url }}">
6
+ <link rel="icon" type="{{ site.icon_type }}" href="{{ site.icon | relative_url }}">
7
7
  <style>
8
+ :root { color-scheme: light dark; }
8
9
  html {
9
10
  max-width: 43rem;
10
11
  margin: 0 auto;
data/sitemap.xml CHANGED
@@ -8,37 +8,37 @@ layout: none
8
8
  <?xml-stylesheet type="text/xsl" href="{{ "/sitemap.xsl" | absolute_url }}"?>
9
9
  {%- endif %}
10
10
  <urlset
11
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12
- xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
13
- xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
11
+ xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
12
+ xsi:schemaLocation="https://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
13
+ xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
14
14
  {%- assign collections = site.collections | where_exp:'collection','collection.output != false' -%}
15
15
  {%- for collection in collections -%}
16
16
  {%- assign docs = collection.docs | where_exp:'doc','doc.sitemap != false' -%}
17
17
  {%- for doc in docs %}
18
- <url>
19
- <loc>{{ doc.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
20
- {%- if doc.last_modified_at or doc.date %}
21
- <lastmod>{{ doc.last_modified_at | default: doc.date | date_to_xmlschema }}</lastmod>
22
- {%- endif %}
23
- </url>
24
- {% endfor -%}
18
+ <url>
19
+ <loc>{{ doc.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
20
+ {%- if doc.last_modified_at or doc.date %}
21
+ <lastmod>{{ doc.last_modified_at | default: doc.date | date_to_xmlschema }}</lastmod>
22
+ {%- endif %}
23
+ </url>
24
+ {%- endfor -%}
25
25
  {%- endfor -%}
26
26
 
27
27
  {%- assign pages = site.html_pages | where_exp:'doc','doc.sitemap != false' | where_exp:'doc','doc.url != "/404.html"' -%}
28
28
  {%- for page in pages %}
29
- <url>
30
- <loc>{{ page.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
31
- {%- if page.last_modified_at %}
32
- <lastmod>{{ page.last_modified_at | date_to_xmlschema }}</lastmod>
33
- {%- endif %}
34
- </url>
35
- {% endfor -%}
29
+ <url>
30
+ <loc>{{ page.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
31
+ {%- if page.last_modified_at %}
32
+ <lastmod>{{ page.last_modified_at | date_to_xmlschema }}</lastmod>
33
+ {%- endif %}
34
+ </url>
35
+ {%- endfor -%}
36
36
 
37
37
  {%- assign static_files = page.static_files | where_exp:'page','page.sitemap != false' | where_exp:'page','page.name != "404.html"' -%}
38
38
  {%- for file in static_files %}
39
- <url>
40
- <loc>{{ file.path | absolute_url | xml_escape }}</loc>
41
- <lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
42
- </url>
43
- {% endfor %}
44
- </urlset>
39
+ <url>
40
+ <loc>{{ file.path | absolute_url | xml_escape }}</loc>
41
+ <lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
42
+ </url>
43
+ {%- endfor %}
44
+ </urlset>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nixer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-06 00:00:00.000000000 Z
11
+ date: 2023-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.4.7
68
+ rubygems_version: 3.4.17
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: A hard-core minimalistic, single-author Jekyll theme with almost default