jekyll-theme-nix 1.0.6 → 1.0.8
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/_config.yml +1 -0
- data/_layouts/default.html +5 -3
- data/_layouts/error.html +5 -4
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +1 -1
- data/feed.xml +6 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f40c9abf12b9b0a2682935d71d972d20638ef679ff90d79deedd9720f8e57957
|
|
4
|
+
data.tar.gz: 9e2af799fe0563994ead0d004abf5b17dedda878450812594c1c764a862d2826
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ab96342307ed9e93dfd9257e89f6d25d481ece5693c6d79124fa838c7a624d00c6521105762b406cdfc3f0543179461e0f3b22d6a0d7026e440cad13dc4badb
|
|
7
|
+
data.tar.gz: 2853cabd28e2d02b483507d9ec7df9344ca2b564374ef13baea02ddd6129261b03d5e9801db851b413bc620c226857f456c72eb456ac9c618b4e1d4c615f008d
|
data/_config.yml
CHANGED
data/_layouts/default.html
CHANGED
|
@@ -3,7 +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 }}" href="{{ site.icon | relative_url }}">
|
|
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 }}">
|
|
7
8
|
<style>
|
|
8
9
|
:root { color-scheme: light dark; }
|
|
9
10
|
html {
|
|
@@ -21,10 +22,11 @@
|
|
|
21
22
|
blockquote { margin: 1em 1.5em 1em 0.5em; padding-left: 1em; border-left: 1px solid lightgrey; }
|
|
22
23
|
sub, sup { line-height: 0; }
|
|
23
24
|
hr { border: 0; border-top: 1px solid; }
|
|
25
|
+
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
|
|
24
26
|
body > header > h1 { margin-bottom: 2rem; text-align: center; }
|
|
25
|
-
body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em;text-align: center; font-size: 2rem; font-weight: bold; }
|
|
27
|
+
body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em; text-align: center; font-size: 2rem; font-weight: bold; }
|
|
26
28
|
body > main > ul { padding: 0; }
|
|
27
|
-
body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.
|
|
29
|
+
body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.25; }
|
|
28
30
|
body > main > ul > li time { font-size: small; }
|
|
29
31
|
article > header { margin-bottom: 2rem; }
|
|
30
32
|
article > header > h1 { margin-bottom: 0; }
|
data/_layouts/error.html
CHANGED
|
@@ -3,7 +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 }}" href="{{ site.icon | relative_url }}">
|
|
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 }}">
|
|
7
8
|
<style>
|
|
8
9
|
:root { color-scheme: light dark; }
|
|
9
10
|
html {
|
|
@@ -13,10 +14,10 @@
|
|
|
13
14
|
font: 1rem / 1.5 sans-serif;
|
|
14
15
|
}
|
|
15
16
|
body { margin: 0; }
|
|
16
|
-
body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em;text-align: center; font-size: 2rem; font-weight: bold; }
|
|
17
|
+
body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em; text-align: center; font-size: 2rem; font-weight: bold; }
|
|
17
18
|
article > header { margin-bottom: 2rem; }
|
|
18
19
|
article > header > h1 { margin-bottom: 0; }
|
|
19
|
-
article h1 { font-size: 2rem; }
|
|
20
|
+
article h1 { font-size: 2rem; line-height: 1.2; }
|
|
20
21
|
@media (prefers-color-scheme: dark) {
|
|
21
22
|
html { background-color: black; color: white; }
|
|
22
23
|
a { color: lightskyblue; }
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
</head>
|
|
31
32
|
<body>
|
|
32
33
|
<header>
|
|
33
|
-
<a rel="author" href="{{ '/' | relative_url }}">{{ site.title }}</a>
|
|
34
|
+
<a rel="author" href="{{ '/' | relative_url }}" accesskey="h" title="Home">{{ site.title }}</a>
|
|
34
35
|
</header>
|
|
35
36
|
<main aria-label="Content">
|
|
36
37
|
<article itemscope itemtype="https://schema.org/WebPage">
|
data/_layouts/page.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
<header>
|
|
5
|
-
<a rel="author" href="{{ '/' | relative_url }}">{{ site.title }}</a>
|
|
5
|
+
<a rel="author" href="{{ '/' | relative_url }}" accesskey="h" title="Home">{{ site.title }}</a>
|
|
6
6
|
</header>
|
|
7
7
|
<main aria-label="Content">
|
|
8
8
|
<article itemscope itemtype="https://schema.org/WebPage">
|
data/_layouts/post.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
<header>
|
|
5
|
-
<a rel="author" href="{{ '/' | relative_url }}">{{ site.title }}</a>
|
|
5
|
+
<a rel="author" href="{{ '/' | relative_url }}" accesskey="h" title="Home">{{ site.title }}</a>
|
|
6
6
|
</header>
|
|
7
7
|
<main aria-label="Content">
|
|
8
8
|
<article itemscope itemtype="https://schema.org/BlogPosting">
|
data/feed.xml
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
permalink: /feed.xml
|
|
3
|
-
redirect_from: /feed
|
|
4
3
|
sitemap: false
|
|
5
4
|
layout: none
|
|
6
5
|
---
|
|
7
6
|
<?xml version="1.0" encoding="utf-8"?>
|
|
8
7
|
{% if page.xsl %}
|
|
9
|
-
|
|
8
|
+
<?xml-stylesheet type="text/xml" href="{{ '/feed.xslt' | absolute_url }}"?>
|
|
10
9
|
{% endif %}
|
|
11
10
|
<feed xmlns="http://www.w3.org/2005/Atom" {% if site.lang %}xml:lang="{{ site.lang }}"{% endif %}>
|
|
12
11
|
<link href="{{ page.url | absolute_url }}" rel="self" type="application/atom+xml" />
|
|
@@ -26,10 +25,10 @@ layout: none
|
|
|
26
25
|
{%- assign title = title | append: site.title_separator | append: category -%}
|
|
27
26
|
{%- endif -%}
|
|
28
27
|
{%- if title %}
|
|
29
|
-
<title>{{ title |
|
|
28
|
+
<title>{{ title | strip_html | normalize_whitespace | smartify }}</title>
|
|
30
29
|
{%- endif -%}
|
|
31
30
|
{%- if site.description %}
|
|
32
|
-
<subtitle>{{ site.description | smartify }}</subtitle>
|
|
31
|
+
<subtitle>{{ site.description | strip_html | normalize_whitespace | smartify }}</subtitle>
|
|
33
32
|
{%- endif -%}
|
|
34
33
|
{%- if site.author %}
|
|
35
34
|
<author>
|
|
@@ -62,7 +61,7 @@ layout: none
|
|
|
62
61
|
{%- assign posts_limit = site.feed.posts_limit | default: 10 -%}
|
|
63
62
|
{%- for post in posts limit: posts_limit %}
|
|
64
63
|
<entry{% if post.lang %}{{" "}}xml:lang="{{ post.lang }}"{% endif %}>
|
|
65
|
-
{%- assign post_title = post.title |
|
|
64
|
+
{%- assign post_title = post.title | strip_html | normalize_whitespace | smartify %}
|
|
66
65
|
<title>{{ post_title }}</title>
|
|
67
66
|
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post_title }}" />
|
|
68
67
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
|
@@ -97,7 +96,7 @@ layout: none
|
|
|
97
96
|
{%- endfor -%}
|
|
98
97
|
{%- assign post_summary = post.description | default: post.excerpt -%}
|
|
99
98
|
{%- if post_summary and post_summary != empty %}
|
|
100
|
-
<summary
|
|
99
|
+
<summary>{{ post_summary | strip_html | normalize_whitespace | smartify }}</summary>
|
|
101
100
|
{%- endif -%}
|
|
102
101
|
|
|
103
102
|
{%- assign post_image = post.image.path | default: post.image -%}
|
|
@@ -110,7 +109,7 @@ layout: none
|
|
|
110
109
|
{%- endif -%}
|
|
111
110
|
{%- assign excerpt_only = post.feed.excerpt_only | default: site.feed.excerpt_only -%}
|
|
112
111
|
{%- unless excerpt_only %}
|
|
113
|
-
<content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}"><![CDATA[{{ post.content |
|
|
112
|
+
<content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}"><![CDATA[{{ post.content | smartify }}]]></content>
|
|
114
113
|
{%- endunless %}
|
|
115
114
|
</entry>
|
|
116
115
|
{%- endfor %}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-nix
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.8
|
|
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-
|
|
11
|
+
date: 2023-12-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|