jekyll-theme-nix 1.0.5 → 1.0.7

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: fee28d62426e4a6fec250fda44ceb1a03c49cc3cd59ba11489748e93e5adbd3c
4
- data.tar.gz: eded20d89e23a1eeccb052568f68b4470cc4685781517c78ec73215f5c73e12f
3
+ metadata.gz: 4fd80d3b8b968b5d51ee216dcbeffc34c3252a045d410f7f5fc81dcccf6976a2
4
+ data.tar.gz: c736fe4246132b8f23b8520d984db561006c8c663f5621fc00d2e8ff617ad8fc
5
5
  SHA512:
6
- metadata.gz: 97d8355a72857ccf647907ba4aff08df5a6e950b28ee2151f46ee964c4e6a63e949d5adc48ad389083e3ccce0a3a91b63ba59d61b5adbc0fa99e7b10842c99e3
7
- data.tar.gz: fc76bc955934ca1dceab6e684427f250894751bae5e363c97df1780c4bc350662bdfc7d2ff7519c10d54e4c410405f5af982e00b3bb8e98fe19de4c26a58dd1b
6
+ metadata.gz: 3741ca52445174d6e816fe9f0658530d91142253c9e57f6ab6a0cfc93f99025d70c0ae77816f29b2563fe84d8b909fe8bc3b209c3dbf4a9d9f8926f77d926208
7
+ data.tar.gz: 8ba8cd09c7f185ac094d6b009728a72fd716f2589d842949b1f8c64bbf55a4126f753e27844fa29e4e817c40be290214de80f34ef9a2983f3134e85af5eaf3f9
@@ -19,17 +19,16 @@
19
19
  img { display: block; max-width: 100%; height: auto; }
20
20
  figure { margin: 0; text-align: center; font-size: small; }
21
21
  blockquote { margin: 1em 1.5em 1em 0.5em; padding-left: 1em; border-left: 1px solid lightgrey; }
22
- code { font-size: 1.125em; }
23
22
  sub, sup { line-height: 0; }
24
23
  hr { border: 0; border-top: 1px solid; }
25
24
  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; }
26
26
  body > main > ul { padding: 0; }
27
27
  body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.25em; }
28
28
  body > main > ul > li time { font-size: small; }
29
- body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em;text-align: center; font-size: 2rem; font-weight: bold; }
30
29
  article > header { margin-bottom: 2rem; }
31
30
  article > header > h1 { margin-bottom: 0; }
32
- article h1 { margin-bottom: 1rem; font-size: 2rem; }
31
+ article h1 { font-size: 2rem; }
33
32
  header > time { display: block; color: grey; }
34
33
  @media (prefers-color-scheme: dark) {
35
34
  html { background-color: black; color: white; }
@@ -39,7 +38,6 @@
39
38
  th, td { border-color: grey; }
40
39
  }
41
40
  .footnotes { margin: 0; font-size: small; }
42
- .footnotes ol { padding-inline-start: 30px; }
43
41
  </style>
44
42
  <meta name="theme-color" content="#white">
45
43
  <title>{%- if page.title -%}{{ page.title | smartify }} • {{ site.title | smartify }}{%- else -%}{{ site.title | smartify }} • {{ site.description | smartify }}{%- endif -%}</title>
data/_layouts/error.html CHANGED
@@ -16,7 +16,7 @@
16
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
17
  article > header { margin-bottom: 2rem; }
18
18
  article > header > h1 { margin-bottom: 0; }
19
- article h1 { margin-bottom: 1rem; font-size: 2rem; }
19
+ article h1 { font-size: 2rem; }
20
20
  @media (prefers-color-scheme: dark) {
21
21
  html { background-color: black; color: white; }
22
22
  a { color: lightskyblue; }
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
- <?xml-stylesheet type="text/xml" href="{{ '/feed.xslt.xml' | absolute_url }}"?>
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 | smartify | xml_escape }}</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 | smartify | strip_html | normalize_whitespace %}
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><![CDATA[{{ post_summary | strip_html | normalize_whitespace | smartify | replace: "&amp;", "&" | replace: "&lt;", "<" | replace: "&gt;", ">" }}]]></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 | strip | smartify }}]]></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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer