jekyll-theme-nixer 1.1.0 → 1.1.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 +4 -4
- data/CODE_OF_CONDUCT.md +133 -0
- data/README.md +33 -29
- data/_config.yml +27 -13
- data/_includes/head.html +19 -0
- data/_includes/style.html +39 -0
- data/_layouts/default.html +2 -37
- data/_layouts/error.html +9 -27
- data/_layouts/home.html +1 -1
- data/_layouts/post.html +1 -1
- data/_layouts/redirect.html +22 -0
- data/assets/icons/icon-dark.webp +0 -0
- data/assets/icons/icon.webp +0 -0
- metadata +71 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7084cfbab5d13dc00681b9a45b7142bd8e6995924ecc573f81f32aa064cf2ea4
|
4
|
+
data.tar.gz: '0849dec04f35a0fc246778b161b1587b66882a976efee288708c3a45557817d8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f25338ee86d575ab94ff5fd05e5884058a3018aef2d231607911cc6450229ba5b02ab036e1d6a32b40b8b06c5ea5759e2dbcf4532eec48ccb97ce237b1bd9d
|
7
|
+
data.tar.gz: bc4982af7f3ee68dd07746e876e17fe78052b6b7c126e37bb7f849d495c056c731617c7369769041308d4379b065af86e2b4f6dc86944182516ce6c3144895c1
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,133 @@
|
|
1
|
+
|
2
|
+
# Contributor Covenant Code of Conduct
|
3
|
+
|
4
|
+
## Our Pledge
|
5
|
+
|
6
|
+
We as members, contributors, and leaders pledge to make participation in our
|
7
|
+
community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
9
|
+
identity and expression, level of experience, education, socio-economic status,
|
10
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
11
|
+
identity and orientation.
|
12
|
+
|
13
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
14
|
+
diverse, inclusive, and healthy community.
|
15
|
+
|
16
|
+
## Our Standards
|
17
|
+
|
18
|
+
Examples of behavior that contributes to a positive environment for our
|
19
|
+
community include:
|
20
|
+
|
21
|
+
* Demonstrating empathy and kindness toward other people
|
22
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
23
|
+
* Giving and gracefully accepting constructive feedback
|
24
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
25
|
+
and learning from the experience
|
26
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
27
|
+
community
|
28
|
+
|
29
|
+
Examples of unacceptable behavior include:
|
30
|
+
|
31
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
32
|
+
any kind
|
33
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
34
|
+
* Public or private harassment
|
35
|
+
* Publishing others' private information, such as a physical or email address,
|
36
|
+
without their explicit permission
|
37
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
38
|
+
professional setting
|
39
|
+
|
40
|
+
## Enforcement Responsibilities
|
41
|
+
|
42
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
43
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
44
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
45
|
+
or harmful.
|
46
|
+
|
47
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
48
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
49
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
50
|
+
decisions when appropriate.
|
51
|
+
|
52
|
+
## Scope
|
53
|
+
|
54
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
55
|
+
an individual is officially representing the community in public spaces.
|
56
|
+
Examples of representing our community include using an official email address,
|
57
|
+
posting via an official social media account, or acting as an appointed
|
58
|
+
representative at an online or offline event.
|
59
|
+
|
60
|
+
## Enforcement
|
61
|
+
|
62
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
63
|
+
reported to the community leaders responsible for enforcement at
|
64
|
+
[INSERT CONTACT METHOD].
|
65
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
66
|
+
|
67
|
+
All community leaders are obligated to respect the privacy and security of the
|
68
|
+
reporter of any incident.
|
69
|
+
|
70
|
+
## Enforcement Guidelines
|
71
|
+
|
72
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
73
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
74
|
+
|
75
|
+
### 1. Correction
|
76
|
+
|
77
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
78
|
+
unprofessional or unwelcome in the community.
|
79
|
+
|
80
|
+
**Consequence**: A private, written warning from community leaders, providing
|
81
|
+
clarity around the nature of the violation and an explanation of why the
|
82
|
+
behavior was inappropriate. A public apology may be requested.
|
83
|
+
|
84
|
+
### 2. Warning
|
85
|
+
|
86
|
+
**Community Impact**: A violation through a single incident or series of
|
87
|
+
actions.
|
88
|
+
|
89
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
90
|
+
interaction with the people involved, including unsolicited interaction with
|
91
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
92
|
+
includes avoiding interactions in community spaces as well as external channels
|
93
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
94
|
+
ban.
|
95
|
+
|
96
|
+
### 3. Temporary Ban
|
97
|
+
|
98
|
+
**Community Impact**: A serious violation of community standards, including
|
99
|
+
sustained inappropriate behavior.
|
100
|
+
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
102
|
+
communication with the community for a specified period of time. No public or
|
103
|
+
private interaction with the people involved, including unsolicited interaction
|
104
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
105
|
+
Violating these terms may lead to a permanent ban.
|
106
|
+
|
107
|
+
### 4. Permanent Ban
|
108
|
+
|
109
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
111
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
112
|
+
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
114
|
+
community.
|
115
|
+
|
116
|
+
## Attribution
|
117
|
+
|
118
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
119
|
+
version 2.1, available at
|
120
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
121
|
+
|
122
|
+
Community Impact Guidelines were inspired by
|
123
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
124
|
+
|
125
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
126
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
127
|
+
[https://www.contributor-covenant.org/translations][translations].
|
128
|
+
|
129
|
+
[homepage]: https://www.contributor-covenant.org
|
130
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
131
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
132
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
133
|
+
[translations]: https://www.contributor-covenant.org/translations
|
data/README.md
CHANGED
@@ -1,54 +1,50 @@
|
|
1
1
|
# Jekyll Theme Nixer
|
2
2
|
|
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)
|
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). It is optimized for fast build speeds as well.
|
4
4
|
|
5
|
-
Its purpose is to be a hard-core
|
5
|
+
Its purpose is to be a hard-core minimalist, single-author theme while not displaying anything more than just the content of posts and a list of posts.
|
6
6
|
|
7
7
|
It also changes as little as possible from the default browser settings to improve legibility.
|
8
8
|
|
9
9
|
[Demo](https://jekyll-theme-nixer.michaelnordmeyer.com/)
|
10
10
|
|
11
|
+

|
12
|
+
|
11
13
|
It is meant for people, who are aware that nobody is using RSS feeds anymore. Either because they don't know what they are or how to use them, or they replaced Google Reader with Social Media. So all visitors are coming from search engines – let's be honest, Google – and won't read other posts, unless they are linked in the post itself.
|
12
14
|
|
13
15
|
And people coming from hacker news or related sites know how to change the URL in the browser's address bar.
|
14
16
|
|
15
17
|
If you think this goes too far, use the above mentioned [Jekyll theme “Nix”](https://github.com/michaelnordmeyer/jekyll-theme-nix) instead.
|
16
18
|
|
19
|
+
[I wrote up what inspired me to create both themes](https://michaelnordmeyer.com/i-created-two-ultra-minimalistic-jekyll-themes).
|
20
|
+
|
17
21
|
## Limited Features
|
18
22
|
|
19
23
|
- Dark mode, because we want to be respectful
|
20
24
|
- Posts, but no backlink to homepage
|
21
25
|
- No Pages, except custom error pages
|
22
|
-
- No visible
|
26
|
+
- No visible dates, authors, categories, or tags on posts and pages
|
23
27
|
- No header or footer
|
24
28
|
- No pagination for the home page
|
25
|
-
- No
|
26
|
-
- A sitemap.xml, because search engines should index us
|
29
|
+
- No feeds
|
30
|
+
- A sitemap.xml, because search engines should index us properly
|
27
31
|
- No semantic info like Open Graph, Twitter cards, JSON-LD, or Microdata
|
28
32
|
|
29
33
|
## Feature Creep and Bloat
|
30
34
|
|
31
35
|
To have titles with proper spelling in the post list, you have to have a `title` in your front matter. You can leave it out, but then some characters cannot be displayed, most notably the apostrophe (`'`) or anything, which cannot reasonably put in the post's filename.
|
32
36
|
|
33
|
-
Rest assured, this is the only bloat, as we already removed the date with the rest from the front matter, because it can reliably taken from the post's filename. And who has time to post more than once a day, anyway.
|
37
|
+
Rest assured, this is the only bloat, as we already removed the date with the rest from the front matter, because it can reliably taken from the post's filename for internal processing. And who has time to post more than once a day, anyway.
|
34
38
|
|
35
39
|
## Minutiae
|
36
40
|
|
37
41
|
### Default Colors
|
38
42
|
|
39
|
-
The default
|
40
|
-
|
41
|
-
- Link: <span style="background-color: white; color: #0000ee"> #0000ee </span>, inverted <span style="background-color: black; color: #ffff11"> #ffff11 </span>
|
42
|
-
- Link visited: <span style="background-color: white; color: #551a8b"> #551a8b </span>, inverted <span style="background-color: black; color: #aae574"> #aae574 </span>
|
43
|
-
|
44
|
-
Therefore, they're set to somewhat lighter versions of the default colors.
|
45
|
-
|
46
|
-
- Link: <span style="background-color: white; color: #0000ee"> #0000ee </span>, inverted <span style="background-color: black; color: lightskyblue"> lightskyblue </span>
|
47
|
-
- Link visited: <span style="background-color: white; color: #551a8b"> #551a8b </span>, inverted <span style="background-color: black; color: plum"> plum </span>
|
43
|
+
The default colors are the colors of the respective browsers, both in light mode and in dark mode.
|
48
44
|
|
49
45
|
### Favicon
|
50
46
|
|
51
|
-
|
47
|
+
`/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.
|
52
48
|
|
53
49
|
### Nixer?
|
54
50
|
|
@@ -58,35 +54,47 @@ Or, if you will, it could be UNIX without the “U”, because of the theme's so
|
|
58
54
|
|
59
55
|
## Installation
|
60
56
|
|
61
|
-
Installation from Gem is recommended, but using a remote theme is also possible, even though it will increase build
|
57
|
+
Installation from Gem is recommended, but using a remote theme is also possible, even though it will increase build times a little, depending on your internet connection and the size of the theme download, because it will be downloaded during each build. Gems are installed locally.
|
62
58
|
|
63
|
-
GitHub
|
59
|
+
GitHub Pages gem users need to use the remote theme method.
|
64
60
|
|
65
61
|
### Installation from Gem
|
66
62
|
|
67
63
|
Add this line to your Jekyll site's `Gemfile`:
|
68
64
|
|
69
65
|
```ruby
|
70
|
-
gem "jekyll-theme-nixer"
|
66
|
+
gem "jekyll-theme-nixer", group: [:jekyll_plugins]
|
71
67
|
```
|
72
68
|
|
73
|
-
|
69
|
+
Then run `bundle` in your terminal.
|
70
|
+
|
71
|
+
```sh
|
72
|
+
bundle
|
73
|
+
```
|
74
|
+
|
75
|
+
Also add the theme to your Jekyll site's `_config.yml`:
|
74
76
|
|
75
77
|
```yaml
|
76
78
|
theme: jekyll-theme-nixer
|
77
79
|
```
|
78
80
|
|
79
|
-
Make sure that this is the only `theme:` in `_config.yml`, and that there are no other `remote-theme:`.
|
81
|
+
Make sure that this is the only `theme:` in `_config.yml`, and that there are no other `remote-theme:`.
|
80
82
|
|
81
83
|
### Installation as Remote Theme
|
82
84
|
|
83
85
|
Add this line to your Jekyll site's `Gemfile`:
|
84
86
|
|
85
87
|
```ruby
|
86
|
-
gem "jekyll-remote-theme"
|
88
|
+
gem "jekyll-remote-theme", group: [:jekyll_plugins]
|
89
|
+
```
|
90
|
+
|
91
|
+
Then run `bundle` in your terminal.
|
92
|
+
|
93
|
+
```sh
|
94
|
+
bundle
|
87
95
|
```
|
88
96
|
|
89
|
-
|
97
|
+
Finally add the remote theme to your Jekyll site's `_config.yml`:
|
90
98
|
|
91
99
|
```yaml
|
92
100
|
remote_theme: michaelnordmeyer/jekyll-theme-nixer
|
@@ -94,10 +102,6 @@ remote_theme: michaelnordmeyer/jekyll-theme-nixer
|
|
94
102
|
|
95
103
|
Make sure that this is the only `remote_theme:` in `_config.yml`, and that there are no other `theme:`.
|
96
104
|
|
97
|
-
|
98
|
-
|
99
|
-
## Sitemap.xml
|
100
|
-
|
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.
|
105
|
+
## Styled Sitemap.xml
|
102
106
|
|
103
|
-
|
107
|
+
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
@@ -1,15 +1,17 @@
|
|
1
|
-
|
1
|
+
## Remove URL for GitHub Pages plugin
|
2
2
|
url: https://jekyll-theme-nixer.michaelnordmeyer.com
|
3
3
|
title: Jekyll Theme Nixer
|
4
4
|
description: "An even more barebones theme for Jekyll"
|
5
5
|
|
6
6
|
plugins:
|
7
7
|
- jekyll-include-cache
|
8
|
-
|
8
|
+
- jekyll-redirect-from
|
9
|
+
- jekyll-sitemap
|
9
10
|
|
10
|
-
## Jekyll build settings
|
11
|
-
exclude: [jekyll-theme-nixer*, LICENSE, Rakefile.rb, README.md]
|
11
|
+
## Jekyll build settings https://jekyllrb.com/docs/configuration/default/
|
12
|
+
exclude: [CODE_OF_CONDUCT.md, jekyll-theme-nixer*, LICENSE, Rakefile.rb, README.md, screenshot.png]
|
12
13
|
ignore_theme_config: true # Since Jekyll 4.0, see: https://jekyllrb.com/docs/themes/#pre-configuring-theme-gems40, https://jekyllrb.com/docs/configuration/options/
|
14
|
+
include: [.well-known]
|
13
15
|
kramdown:
|
14
16
|
show_warnings: true
|
15
17
|
syntax_highlighter_opts:
|
@@ -24,22 +26,34 @@ permalink: /:title
|
|
24
26
|
sass:
|
25
27
|
style: compressed
|
26
28
|
strict_front_matter: true # default: false
|
27
|
-
timezone: Europe/Berlin # default: local timezone
|
28
29
|
# remote_theme: michaelnordmeyer/jekyll-theme-nixer
|
29
30
|
# theme: jekyll-theme-nixer
|
31
|
+
timezone: Europe/Berlin # default: local timezone
|
30
32
|
|
31
|
-
## Custom
|
33
|
+
## Custom settings used by plugins and the theme
|
32
34
|
lang: en-US # default: en (is not by Jekyll, but used by many other plugins)
|
35
|
+
title_separator: " • " # default: " | "
|
36
|
+
## Custom theme settings
|
37
|
+
favicon: /assets/icons/icon.webp # optional, but mandatory if favicon_dark is used, needs to be 180x180
|
38
|
+
favicon_dark: /assets/icons/icon-dark.webp # optional, needs to be 180x180
|
33
39
|
theme_settings:
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
#
|
40
|
+
# redirect_page_title: "Redirecting…" # default: "Redirecting…"
|
41
|
+
# redirect_page_from: "Redirecting from" # default: "Redirecting from"
|
42
|
+
# redirect_page_to: "to" # default: "to"
|
43
|
+
# redirect_page_text: "Click here if you are not being redirected." # default: "Click here if you are not being redirected.""
|
38
44
|
|
39
45
|
## https://jekyllrb.com/docs/configuration/front-matter-defaults/
|
46
|
+
# Only works for all posts, but can work for a subset of pages
|
40
47
|
defaults:
|
41
48
|
- scope:
|
42
|
-
path: ""
|
43
|
-
type:
|
49
|
+
path: "" # an empty string here means all files in the project (allows globs, but is slow)
|
50
|
+
type: posts # type (optional): posts, pages, drafts, or any collection
|
51
|
+
values:
|
52
|
+
layout: post
|
53
|
+
- scope:
|
54
|
+
path: error
|
55
|
+
type: pages
|
44
56
|
values:
|
45
|
-
layout:
|
57
|
+
layout: error
|
58
|
+
permalink: /:path/:basename
|
59
|
+
sitemap: false
|
data/_includes/head.html
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
{%- if site.favicon %}
|
7
|
+
{%- if site.favicon_dark %}
|
8
|
+
<link rel="icon" type="{{ site.favicon_media_type }}" media="(prefers-color-scheme: light)" href="{{ site.favicon | relative_url }}">
|
9
|
+
<link rel="icon" type="{{ site.favicon_media_type }}" media="(prefers-color-scheme: dark)" href="{{ site.favicon_dark | relative_url }}">
|
10
|
+
{%- else %}
|
11
|
+
<link rel="icon" type="{{ site.favicon_media_type }}" href="{{ site.favicon | relative_url }}">
|
12
|
+
{%- endif %}
|
13
|
+
{%- endif %}
|
14
|
+
<meta name="color-scheme" content="light dark">
|
15
|
+
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
|
16
|
+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black">
|
17
|
+
{%- if page.sitemap == false %}
|
18
|
+
<meta name="robots" content="noindex">
|
19
|
+
{%- endif %}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<style>
|
2
|
+
:root {
|
3
|
+
--default-font-px: 16;
|
4
|
+
--font-size: 1rem;
|
5
|
+
--font-family: sans-serif;
|
6
|
+
--spacing: 1em;
|
7
|
+
--line-height: 1.5;
|
8
|
+
/* Calculate integer pixel values depending on the font size (1rem = 16px) */
|
9
|
+
--border-size: calc(var(--font-size) * 1/var(--default-font-px));
|
10
|
+
--x-script: calc(var(--font-size) * 11/var(--default-font-px));
|
11
|
+
--small-font-size: calc(var(--font-size) * 14/var(--default-font-px));
|
12
|
+
--big-font-size: calc(var(--font-size) * 32/var(--default-font-px));
|
13
|
+
}
|
14
|
+
html {
|
15
|
+
max-width: 720px;
|
16
|
+
margin: 0 auto;
|
17
|
+
padding: calc(var(--spacing) * 1/2);
|
18
|
+
font: var(--font-size) / var(--line-height) var(--font-family);
|
19
|
+
/* font-size-adjust: from-font; */
|
20
|
+
-moz-text-size-adjust: none;
|
21
|
+
-webkit-text-size-adjust: none;
|
22
|
+
text-size-adjust: none;
|
23
|
+
}
|
24
|
+
body { margin: 0; }
|
25
|
+
img, table { margin: 0 auto; }
|
26
|
+
table { border-collapse: collapse; }
|
27
|
+
th, td { padding: calc(var(--spacing) * 1/4); border: var(--border-size) solid color-mix(in srgb, currentcolor 50%, transparent); }
|
28
|
+
img { display: block; max-width: 100%; height: auto; }
|
29
|
+
figure { margin-left: 0; margin-right: 0; max-width: 100%; text-align: center; font-size: var(--small-font-size); line-height: 1; }
|
30
|
+
blockquote { margin: var(--spacing) calc(var(--spacing) * 3/2) var(--spacing) calc(var(--spacing) * 1/2); padding-left: var(--spacing); border-left: var(--border-size) solid color-mix(in srgb, currentcolor 50%, transparent); }
|
31
|
+
sub, sup { font-size: var(--x-script); line-height: 0; }
|
32
|
+
hr { margin: calc(var(--spacing) * 2) 0; border: 0; border-top: var(--border-size) solid; }
|
33
|
+
h1, h2, h3, h4, h5, h6 { line-height: 1.2; text-wrap: balance; }
|
34
|
+
h1 { font-size: var(--big-font-size); text-align: center; }
|
35
|
+
body > main > ul { padding: 0; }
|
36
|
+
body > main > ul > li { margin: calc(var(--spacing) * 1/2) 0; list-style-type: none; line-height: 1.25; }
|
37
|
+
hr:has(+div[role="doc-endnotes"]) { margin-bottom: var(--spacing); }
|
38
|
+
div[role="doc-endnotes"] { margin-top: 0; font-size: var(--small-font-size); line-height: var(--line-height); }
|
39
|
+
</style>
|
data/_layouts/default.html
CHANGED
@@ -1,43 +1,8 @@
|
|
1
|
-
|
2
|
-
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
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
|
-
<style>
|
9
|
-
:root { color-scheme: light dark; }
|
10
|
-
html {
|
11
|
-
max-width: 43rem;
|
12
|
-
margin: 0 auto;
|
13
|
-
padding: 1em;
|
14
|
-
font: 1rem / 1.5 sans-serif;
|
15
|
-
}
|
16
|
-
body { margin: 0; }
|
17
|
-
img, table { margin: 0 auto; }
|
18
|
-
table { border-collapse: collapse; }
|
19
|
-
th, td { padding: 0.25em; border: 1px solid lightgrey; }
|
20
|
-
img { display: block; max-width: 100%; height: auto; }
|
21
|
-
figure { margin: 0; text-align: center; font-size: small; }
|
22
|
-
blockquote { margin: 1em 1.5em 1em 0.5em; padding-left: 1em; border-left: 1px solid lightgrey; }
|
23
|
-
sub, sup { line-height: 0; }
|
24
|
-
hr { border: 0; border-top: 1px solid; }
|
25
|
-
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
|
26
|
-
h1 { font-size: 2rem; text-align: center; }
|
27
|
-
body > main > ul { padding: 0; }
|
28
|
-
body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.25; }
|
29
|
-
@media (prefers-color-scheme: dark) {
|
30
|
-
html { background-color: black; color: white; }
|
31
|
-
a { color: lightskyblue; }
|
32
|
-
a:visited { color: plum; }
|
33
|
-
th, td { border-color: grey; }
|
34
|
-
}
|
35
|
-
.footnotes { margin: 0; font-size: small; }
|
36
|
-
</style>
|
37
|
-
<meta name="theme-color" content="#white">
|
1
|
+
{% include head.html %}
|
38
2
|
<title>{%- if page.title -%}{{ page.title | smartify }}{%- else -%}{{ site.title | smartify }}{%- endif -%}</title>
|
39
3
|
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | smartify }}{% else %}{{ site.description | smartify }}{% endif %}">
|
40
4
|
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
5
|
+
{% include_cached style.html %}
|
41
6
|
</head>
|
42
7
|
<body>
|
43
8
|
<main>
|
data/_layouts/error.html
CHANGED
@@ -1,32 +1,14 @@
|
|
1
|
-
|
2
|
-
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
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
|
-
<style>
|
9
|
-
:root { color-scheme: light dark; }
|
10
|
-
html {
|
11
|
-
max-width: 43rem;
|
12
|
-
margin: 0 auto;
|
13
|
-
padding: 1em;
|
14
|
-
font: 1rem / 1.5 sans-serif;
|
15
|
-
}
|
16
|
-
body { margin: 0; }
|
17
|
-
h1 { margin-block-start: 0.83em; margin-block-end: 0.83em; text-align: center; line-height: 1.2; }
|
18
|
-
@media (prefers-color-scheme: dark) {
|
19
|
-
html { background-color: black; color: white; }
|
20
|
-
a { color: lightskyblue; }
|
21
|
-
a:visited { color: plum; }
|
22
|
-
}
|
23
|
-
</style>
|
24
|
-
<meta name="theme-color" content="#white">
|
1
|
+
{% include head.html %}
|
25
2
|
<title>{%- if page.title -%}{{ page.title | smartify }}{%- else -%}{{ site.title | smartify }}{%- endif -%}</title>
|
26
|
-
|
27
|
-
<meta name="robots" content="noindex,follow">
|
3
|
+
{% include_cached style.html %}
|
28
4
|
</head>
|
29
5
|
<body>
|
30
|
-
<
|
6
|
+
<main>
|
7
|
+
<article>
|
8
|
+
<header>
|
9
|
+
<h1>{{ page.title }}</h1>
|
10
|
+
</header>
|
11
|
+
</article>
|
12
|
+
</main>
|
31
13
|
</body>
|
32
14
|
</html>
|
data/_layouts/home.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
{% include head.html %}
|
2
|
+
<title>{{ site.theme_settings.redirect_page_title | default: "Redirecting…" | smartify }}</title>
|
3
|
+
<link rel="canonical" href="{{ page.redirect.to | absolute_url }}">
|
4
|
+
<meta http-equiv="refresh" content="0; url={{ page.redirect.to | absolute_url }}">
|
5
|
+
{% include_cached style.html %}
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<main>
|
9
|
+
<article>
|
10
|
+
<header>
|
11
|
+
<h1>{{ site.theme_settings.redirect_page_title | default: "Redirecting…" | smartify }}</h1>
|
12
|
+
</header>
|
13
|
+
<p>
|
14
|
+
{{ site.theme_settings.redirect_page_from | default: "Redirecting from" | smartify }} {{ page.redirect.from | relative_url }} {{ site.theme_settings.redirect_page_to | default: "to" | smartify }} {{ page.redirect.to | absolute_url }}.
|
15
|
+
</p>
|
16
|
+
<p>
|
17
|
+
<a href="{{ page.redirect.to | absolute_url }}">{{ site.theme_settings.redirect_page_text | default: "Click here if you are not being redirected." | smartify }}</a>
|
18
|
+
</p>
|
19
|
+
</article>
|
20
|
+
</main>
|
21
|
+
</body>
|
22
|
+
</html>
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-nixer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Nordmeyer
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-15 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: jekyll
|
@@ -36,34 +35,94 @@ dependencies:
|
|
36
35
|
requirements:
|
37
36
|
- - "~>"
|
38
37
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.2
|
38
|
+
version: '0.2'
|
40
39
|
type: :runtime
|
41
40
|
prerelease: false
|
42
41
|
version_requirements: !ruby/object:Gem::Requirement
|
43
42
|
requirements:
|
44
43
|
- - "~>"
|
45
44
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.2
|
47
|
-
|
45
|
+
version: '0.2'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: jekyll-redirect-from
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.16'
|
53
|
+
type: :runtime
|
54
|
+
prerelease: false
|
55
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0.16'
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: jekyll-sitemap
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '1.4'
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.4'
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: bundler
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '2.4'
|
81
|
+
type: :development
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '2.4'
|
88
|
+
- !ruby/object:Gem::Dependency
|
89
|
+
name: rake
|
90
|
+
requirement: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '13.0'
|
95
|
+
type: :development
|
96
|
+
prerelease: false
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '13.0'
|
48
102
|
email:
|
49
103
|
- michaelnordmeyer@users.noreply.github.com
|
50
104
|
executables: []
|
51
105
|
extensions: []
|
52
106
|
extra_rdoc_files: []
|
53
107
|
files:
|
108
|
+
- CODE_OF_CONDUCT.md
|
54
109
|
- LICENSE
|
55
110
|
- README.md
|
56
111
|
- _config.yml
|
112
|
+
- _includes/head.html
|
113
|
+
- _includes/style.html
|
57
114
|
- _layouts/default.html
|
58
115
|
- _layouts/error.html
|
59
116
|
- _layouts/home.html
|
60
117
|
- _layouts/post.html
|
118
|
+
- _layouts/redirect.html
|
119
|
+
- assets/icons/icon-dark.webp
|
120
|
+
- assets/icons/icon.webp
|
61
121
|
homepage: https://github.com/michaelnordmeyer/jekyll-theme-nixer
|
62
122
|
licenses:
|
63
123
|
- MIT
|
64
124
|
metadata:
|
65
125
|
plugin_type: theme
|
66
|
-
post_install_message:
|
67
126
|
rdoc_options: []
|
68
127
|
require_paths:
|
69
128
|
- lib
|
@@ -71,17 +130,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
130
|
requirements:
|
72
131
|
- - ">="
|
73
132
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
133
|
+
version: 2.7.0
|
75
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
135
|
requirements:
|
77
136
|
- - ">="
|
78
137
|
- !ruby/object:Gem::Version
|
79
138
|
version: '0'
|
80
139
|
requirements: []
|
81
|
-
rubygems_version: 3.
|
82
|
-
signing_key:
|
140
|
+
rubygems_version: 3.6.3
|
83
141
|
specification_version: 4
|
84
|
-
summary: A hard-core
|
85
|
-
|
86
|
-
|
142
|
+
summary: A hard-core minimalist, single-author Jekyll theme with almost default browser
|
143
|
+
styling, and a dark mode. Just a post list and posts, no menu, header, footer, or
|
144
|
+
pages. Even the backlink from posts to home is missing.
|
87
145
|
test_files: []
|