jekyll-theme-nixer 1.0.7 → 1.1.0

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: bf6c5ec8cc42a9ea746e7b030b51134c0f3b6668b368574b4126b8ae551d20bd
4
- data.tar.gz: f8466bc0e13b355a04018574b269993343f600678f2f3c143cf84d5339fd4059
3
+ metadata.gz: fdafe802b533b71fd5e994d667349bb6581f1f6b4403a43d990d5a457118bd9b
4
+ data.tar.gz: 7018a5006a3efa24cf1644fb753f7135236541cc600db6d44e7dede4b2e75358
5
5
  SHA512:
6
- metadata.gz: 1f7558946746fcbc189eef2e9ad7969040897f7e61793b81297d5cbbcb9b06da9698ad01710e7694193060aa620f0e1555187e00da8f4897f657244c29829dab
7
- data.tar.gz: b96b85225ef601fc8ea961ffbbb6c3bf21db96f6613336844883bb6838e5ec183a72335fd51914f162e6349b7c837a69f776bf88109bd43a42399909c0f53e66
6
+ metadata.gz: 1e66dc41552353defcdc11f6f84cf87cedd33f9a2ab0639bb4fdfd06435eedfe49caba0538a9f2321ee79d7282b1f1a9309be1c3b36dc554161998556d4fc2d2
7
+ data.tar.gz: 0d86e9f31936fe960b5b37a0bfa364bc189ffba87a9f450b037adc844b63c62e7bf230e04126c19ba34844094219bfb729ffcabc526ffd6100f0ce19d82c1ac9
data/README.md CHANGED
@@ -19,7 +19,7 @@ If you think this goes too far, use the above mentioned [Jekyll theme “Nix”]
19
19
  - Dark mode, because we want to be respectful
20
20
  - Posts, but no backlink to homepage
21
21
  - No Pages, except custom error pages
22
- - No visible authors, dates, categories, or tags
22
+ - No visible authors, dates, categories, or tags on posts and pages
23
23
  - No header or footer
24
24
  - No pagination for the home page
25
25
  - No feed.xml
@@ -58,7 +58,9 @@ Or, if you will, it could be UNIX without the “U”, because of the theme's so
58
58
 
59
59
  ## Installation
60
60
 
61
- Installation from Gem is recommended, but using a remote theme is also possible, even though it will increase build time a little, depending on your internet connection.
61
+ Installation from Gem is recommended, but using a remote theme is also possible, even though it will increase build time a little, depending on your internet connection, because the theme will be downloaded during each build. Gems are installed locally.
62
+
63
+ GitHub pages gem users need to use the remote theme method.
62
64
 
63
65
  ### Installation from Gem
64
66
 
@@ -74,7 +76,7 @@ And add this line to your Jekyll site's `_config.yml`:
74
76
  theme: jekyll-theme-nixer
75
77
  ```
76
78
 
77
- Make sure that this is the only `theme:` in `_config.yml`. Afterwards run `bundle install`.
79
+ Make sure that this is the only `theme:` in `_config.yml`, and that there are no other `remote-theme:`. Afterwards run `bundle install`, and `bundle update` to update it, if there's a new version.
78
80
 
79
81
  ### Installation as Remote Theme
80
82
 
@@ -96,6 +98,6 @@ Finally, add `jekyll-remote-theme` to your plugin section in `_config.yml` as we
96
98
 
97
99
  ## Sitemap.xml
98
100
 
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.
101
+ A `sitemap.xml` is already included in the theme and doesn't need a dependency to the `jekyll-sitemap` plugin. For a standard Jekyll installation, it works out-of-the-box if this files is copied to the Jekyll directory.
100
102
 
101
103
  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,25 +1,42 @@
1
1
  ### Remove URL for Github Pages
2
2
  url: https://jekyll-theme-nixer.michaelnordmeyer.com
3
- icon: /icon.webp
4
- icon_dark: /icon-dark.webp
5
- icon_type: image/webp
6
3
  title: Jekyll Theme Nixer
7
4
  description: "An even more barebones theme for Jekyll"
8
5
 
9
- timezone: Europe/Berlin
10
- ignore_theme_config: true
11
- exclude: [jekyll-theme-nixer*, LICENSE, README.md]
12
- date_format: "%Y-%m-%d"
13
-
14
6
  plugins:
15
7
  - jekyll-include-cache
16
8
  # - jekyll-redirect-from
17
9
 
18
10
  ## Jekyll build settings
11
+ exclude: [jekyll-theme-nixer*, LICENSE, Rakefile.rb, README.md]
12
+ ignore_theme_config: true # Since Jekyll 4.0, see: https://jekyllrb.com/docs/themes/#pre-configuring-theme-gems40, https://jekyllrb.com/docs/configuration/options/
19
13
  kramdown:
20
14
  show_warnings: true
21
-
15
+ syntax_highlighter_opts:
16
+ disable: true
17
+ liquid:
18
+ # Configure Liquid’s parser
19
+ error_mode: strict # default: warn
20
+ # Configure Liquid’s renderer
21
+ strict_filters: true # default: false
22
+ # strict_variables: true # default: false
22
23
  permalink: /:title
24
+ sass:
25
+ style: compressed
26
+ strict_front_matter: true # default: false
27
+ timezone: Europe/Berlin # default: local timezone
28
+ # remote_theme: michaelnordmeyer/jekyll-theme-nixer
29
+ # theme: jekyll-theme-nixer
30
+
31
+ ## Custom theme settings to not overwrite anything from Jekyll or plugins
32
+ lang: en-US # default: en (is not by Jekyll, but used by many other plugins)
33
+ theme_settings:
34
+ favicon: /icon.webp # optional, needs to be 180x180
35
+ favicon_dark: /icon-dark.webp # optional, needs to be 180x180
36
+ favicon_media_type: image/webp # mandatory, if favicon is set
37
+ # title_separator: "|" # default: "•"
38
+
39
+ ## https://jekyllrb.com/docs/configuration/front-matter-defaults/
23
40
  defaults:
24
41
  - scope:
25
42
  path: ""
@@ -3,8 +3,8 @@
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="{{ site.icon_type }}" media="(prefers-color-scheme: light)" href="{{ site.icon | relative_url }}">
7
- <link rel="icon" type="{{ site.icon_type }}" media="(prefers-color-scheme: dark)" href="{{ site.icon_dark | relative_url }}">
6
+ <link rel="icon" type="{{ site.theme_settings.favicon_media_type }}" media="(prefers-color-scheme: light)" href="{{ site.theme_settings.favicon | relative_url }}">
7
+ <link rel="icon" type="{{ site.theme_settings.favicon_media_type }}" media="(prefers-color-scheme: dark)" href="{{ site.theme_settings.favicon_dark | relative_url }}">
8
8
  <style>
9
9
  :root { color-scheme: light dark; }
10
10
  html {
@@ -41,7 +41,7 @@
41
41
  </head>
42
42
  <body>
43
43
  <main>
44
- {{ content }}
44
+ {{ content }}
45
45
  </main>
46
46
  </body>
47
47
  </html>
data/_layouts/error.html CHANGED
@@ -3,8 +3,8 @@
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="{{ site.icon_type }}" media="(prefers-color-scheme: light)" href="{{ site.icon | relative_url }}">
7
- <link rel="icon" type="{{ site.icon_type }}" media="(prefers-color-scheme: dark)" href="{{ site.icon_dark | relative_url }}">
6
+ <link rel="icon" type="{{ site.theme_settings.favicon_media_type }}" media="(prefers-color-scheme: light)" href="{{ site.theme_settings.favicon | relative_url }}">
7
+ <link rel="icon" type="{{ site.theme_settings.favicon_media_type }}" media="(prefers-color-scheme: dark)" href="{{ site.theme_settings.favicon_dark | relative_url }}">
8
8
  <style>
9
9
  :root { color-scheme: light dark; }
10
10
  html {
data/_layouts/post.html CHANGED
@@ -5,5 +5,5 @@ layout: default
5
5
  <header>
6
6
  <h1>{{ page.title | smartify }}</h1>
7
7
  </header>
8
- {{ content }}
8
+ {{ content }}
9
9
  </article>
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.7
4
+ version: 1.1.0
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-12-28 00:00:00.000000000 Z
11
+ date: 2024-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -30,6 +30,20 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: jekyll-include-cache
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.2.1
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.2.1
33
47
  description:
34
48
  email:
35
49
  - michaelnordmeyer@users.noreply.github.com
@@ -44,7 +58,6 @@ files:
44
58
  - _layouts/error.html
45
59
  - _layouts/home.html
46
60
  - _layouts/post.html
47
- - sitemap.xml
48
61
  homepage: https://github.com/michaelnordmeyer/jekyll-theme-nixer
49
62
  licenses:
50
63
  - MIT
@@ -65,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
78
  - !ruby/object:Gem::Version
66
79
  version: '0'
67
80
  requirements: []
68
- rubygems_version: 3.4.17
81
+ rubygems_version: 3.5.3
69
82
  signing_key:
70
83
  specification_version: 4
71
84
  summary: A hard-core minimalistic, single-author Jekyll theme with almost default
data/sitemap.xml DELETED
@@ -1,44 +0,0 @@
1
- ---
2
- permalink: /sitemap.xml
3
- sitemap: false
4
- layout: none
5
- ---
6
- <?xml version="1.0" encoding="UTF-8"?>
7
- {%- if page.xsl %}
8
- <?xml-stylesheet type="text/xsl" href="{{ "/sitemap.xsl" | absolute_url }}"?>
9
- {%- endif %}
10
- <urlset
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
- {%- assign collections = site.collections | where_exp:'collection','collection.output != false' -%}
15
- {%- for collection in collections -%}
16
- {%- assign docs = collection.docs | where_exp:'doc','doc.sitemap != false' -%}
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 -%}
25
- {%- endfor -%}
26
-
27
- {%- assign pages = site.html_pages | where_exp:'doc','doc.sitemap != false' | where_exp:'doc','doc.url != "/404.html"' -%}
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 -%}
36
-
37
- {%- assign static_files = page.static_files | where_exp:'page','page.sitemap != false' | where_exp:'page','page.name != "404.html"' -%}
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>