jekyll-theme-nixest 1.1.4 → 1.1.5

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: 346dca4c85a6b0395aecb83a3af2d2bcc22ce4dfb72ad89c98f8d68d4591567e
4
- data.tar.gz: 555af3d25d34d5609f28d9d4aba15232ac5464c1536c71e2919b0891a2c028f7
3
+ metadata.gz: 8632f247feadcc68255e38e2f75f4095dd977d5394e4de78a0e51d66d7017772
4
+ data.tar.gz: aa12a31963541ed0a082f75dd1924706f61e04b629d39bbbfe65e8373ea61bbd
5
5
  SHA512:
6
- metadata.gz: 59db5ff602a037f288168a041918983f7e8823e0ac618e5d73d634aea232aaf3616d4cdb617a22de7559e1f62a9cc8207b02aa4dd0857568c14900712751a4a7
7
- data.tar.gz: 157219e7462e1b59bb7e522910f65180f6b4e944108af21a0744740d54ca37b9c3d2c7a325444be525a512809a37a3271d1d5494699ac42d184bfb3b4ff5366f
6
+ metadata.gz: 498e7b47a7abda313e752249c347878a2daa5d36f290742674ebbfa6a8d44ea80457c24dcb31c6d338fdf06d65634d1f46dba4a096d3de34c9e23588a97aa12c
7
+ data.tar.gz: d271f0a0c575e507433e34ca34fbb3d5a116680d3a54e48d21c1a737b926af6c8b5c4931ec428ae16fa41f1b4de29cd47a6b6ec33e7e11a6d92886cf98f91531
data/README.md CHANGED
@@ -42,6 +42,10 @@ The default colors are the colors of the respective browsers, both in light and
42
42
 
43
43
  `/assets/icons/icon.webp` is the favicon for the light mode, and there's also a dark variant `/assets/icons/icon-dark.webp` for dark mode. They will be used automatically or you can replace them by creating new ones in the same location.
44
44
 
45
+ ### Language Direction
46
+
47
+ Support for right-to-left languages through `lang_direction: rtl` in `_config.yml` under the key `theme_settings`.
48
+
45
49
  ### Nixest?
46
50
 
47
51
  “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. And “Nixest” is the Englisch superlative of “Nix”.
@@ -97,7 +101,3 @@ remote_theme: michaelnordmeyer/jekyll-theme-nixest
97
101
  ```
98
102
 
99
103
  Make sure that this is the only `remote_theme:` in `_config.yml`, and that there are no other `theme:`.
100
-
101
- ## Styled Sitemap.xml
102
-
103
- A `sitemap.xsl` is included in the theme to style the `sitemap.xml` while being displayed in the browser. For a standard Jekyll installation, they work out-of-the-box if both files are copied to the Jekyll directory.
data/_config.yml CHANGED
@@ -37,6 +37,7 @@ title_separator: " • " # default: " | "
37
37
  favicon: /assets/icons/icon.webp # optional, but mandatory if favicon_dark is used, needs to be 180x180
38
38
  favicon_dark: /assets/icons/icon-dark.webp # optional, needs to be 180x180
39
39
  theme_settings:
40
+ # lang_direction: rtl # default: "ltr"
40
41
  # redirect_page_title: "Redirecting…" # default: "Redirecting…"
41
42
  # redirect_page_from: "Redirecting from" # default: "Redirecting from"
42
43
  # redirect_page_to: "to" # default: "to"
@@ -55,7 +56,7 @@ defaults:
55
56
  values:
56
57
  layout: post
57
58
  - scope:
58
- path: error
59
+ path: errors
59
60
  type: pages
60
61
  values:
61
62
  layout: error
@@ -1,6 +1,3 @@
1
- <!doctype html>
2
- <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
- <head>
4
1
  <meta charset="utf-8">
5
2
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
3
  {%- if site.favicon %}
@@ -1,4 +1,7 @@
1
- {% include head.html %}
1
+ <!doctype html>
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" dir="{{ site.theme_settings.lang_direction | default: 'ltr' }}">
3
+ <head>
4
+ {% include default-head.html %}
2
5
  <title>{%- if content -%}{{ content | strip_html | truncate: 150 }}{%- else -%}{{ site.title | smartify }}{%- endif -%}</title>
3
6
  <meta name="description" content="{% if content %}{{ content | strip_html | truncate: 150 }}{% else %}{{ site.description | smartify }}{% endif %}">
4
7
  <link rel="canonical" href="{{ page.url | absolute_url }}">
data/_layouts/error.html CHANGED
@@ -1,4 +1,7 @@
1
- {% include head.html %}
1
+ <!doctype html>
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" dir="{{ site.theme_settings.lang_direction | default: 'ltr' }}">
3
+ <head>
4
+ {% include default-head.html %}
2
5
  <title>{%- if content -%}{{ content | strip_html | truncate: 150 }}{%- else -%}{{ site.title | smartify }}{%- endif -%}</title>
3
6
  {% include_cached style.html %}
4
7
  </head>
@@ -1,4 +1,7 @@
1
- {% include head.html %}
1
+ <!doctype html>
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" dir="{{ site.theme_settings.lang_direction | default: 'ltr' }}">
3
+ <head>
4
+ {% include default-head.html %}
2
5
  <title>{{ site.theme_settings.redirect_page_title | default: "Redirecting…" | smartify }}</title>
3
6
  <link rel="canonical" href="{{ page.redirect.to | absolute_url }}">
4
7
  <meta http-equiv="refresh" content="0; url={{ page.redirect.to | absolute_url }}">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nixest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer
@@ -71,32 +71,46 @@ dependencies:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
73
  version: '1.4'
74
+ - !ruby/object:Gem::Dependency
75
+ name: logger
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ type: :runtime
82
+ prerelease: false
83
+ version_requirements: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
74
88
  - !ruby/object:Gem::Dependency
75
89
  name: bundler
76
90
  requirement: !ruby/object:Gem::Requirement
77
91
  requirements:
78
- - - "~>"
92
+ - - ">="
79
93
  - !ruby/object:Gem::Version
80
94
  version: '2.4'
81
95
  type: :development
82
96
  prerelease: false
83
97
  version_requirements: !ruby/object:Gem::Requirement
84
98
  requirements:
85
- - - "~>"
99
+ - - ">="
86
100
  - !ruby/object:Gem::Version
87
101
  version: '2.4'
88
102
  - !ruby/object:Gem::Dependency
89
103
  name: rake
90
104
  requirement: !ruby/object:Gem::Requirement
91
105
  requirements:
92
- - - "~>"
106
+ - - ">="
93
107
  - !ruby/object:Gem::Version
94
108
  version: '13.0'
95
109
  type: :development
96
110
  prerelease: false
97
111
  version_requirements: !ruby/object:Gem::Requirement
98
112
  requirements:
99
- - - "~>"
113
+ - - ">="
100
114
  - !ruby/object:Gem::Version
101
115
  version: '13.0'
102
116
  email:
@@ -109,7 +123,7 @@ files:
109
123
  - LICENSE
110
124
  - README.md
111
125
  - _config.yml
112
- - _includes/head.html
126
+ - _includes/default-head.html
113
127
  - _includes/style.html
114
128
  - _layouts/default.html
115
129
  - _layouts/error.html
@@ -137,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
151
  - !ruby/object:Gem::Version
138
152
  version: 3.4.0
139
153
  requirements: []
140
- rubygems_version: 3.7.1
154
+ rubygems_version: 4.0.7
141
155
  specification_version: 4
142
156
  summary: A hard-core minimalist, single-author Jekyll theme with almost default browser
143
157
  styling, and a dark mode. Just a post list and posts, no menu, header, footer, or