alembic-jekyll-theme 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/_includes/site-favicons.html +3 -3
- data/_includes/site-search.html +2 -2
- data/_layouts/default.html +1 -0
- data/assets/manifest.json +1 -1
- data/assets/scripts/sw.js +4 -4
- 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: 4cb8ca79cd732609cbebc2ca85412ac04665804ee3069cefd1863dc796357b84
|
4
|
+
data.tar.gz: ffcaf7bba29ae527cdcc74530f41296cea84a4ea523486a30ed388a7c193ae90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a12028d03d74df0c9e5481a5e45b1c1afdde6b95a1c96bd205a6af4343bc18798e25f2dd53b161c1974ebdaaee6b49f960d001730210ed0a30a660188724675f
|
7
|
+
data.tar.gz: a54c653d586f425f26a95affb885a8d9687efdd4ba18f6289f92ad924294af80147674ae41a1a064367f411e2a05a1446fa2847a443f6aa6c5d10b47dbe6c2a7
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
![Screenshot](https://raw.githubusercontent.com/daviddarnes/alembic/master/screenshot.png)
|
7
7
|
|
8
|
-
[
|
8
|
+
[<img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" width="217"/>](https://buymeacoffee.com/daviddarnes#support)
|
9
9
|
|
10
10
|
## Contents
|
11
11
|
- [About](#about)
|
@@ -49,6 +49,7 @@
|
|
49
49
|
|
50
50
|
Here are a few examples of Alembic out in the wild being used in a variety of ways:
|
51
51
|
|
52
|
+
- [billmei.net](https://billmei.net/)
|
52
53
|
- [bawejakunal.github.io](https://bawejakunal.github.io/)
|
53
54
|
- [case2111.github.io](https://case2111.github.io/)
|
54
55
|
- [karateca.org](https://www.karateca.org/)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% if site.favicons %}
|
2
2
|
{% for icon in site.favicons %}
|
3
|
-
<link rel="icon" type="image/png" href="{{ icon[1] }}" sizes="{{ icon[0] }}x{{ icon[0] }}">
|
4
|
-
<link rel="apple-touch-icon" sizes="{{ icon[0] }}x{{ icon[0] }}" href="{{ icon[1] }}">
|
3
|
+
<link rel="icon" type="image/png" href="{{ icon[1] | relative_url }}" sizes="{{ icon[0] }}x{{ icon[0] }}">
|
4
|
+
<link rel="apple-touch-icon" sizes="{{ icon[0] }}x{{ icon[0] }}" href="{{ icon[1] | relative_url }}">
|
5
5
|
{% endfor %}
|
6
6
|
{% endif %}
|
7
|
-
<link rel="shortcut icon" href="{{ site.avatarurl + '?s=32' | default: site.logo }}">
|
7
|
+
<link rel="shortcut icon" href="{{ site.avatarurl + '?s=32' | default: site.logo | relative_url }}">
|
data/_includes/site-search.html
CHANGED
@@ -49,8 +49,8 @@
|
|
49
49
|
|
50
50
|
field.addEventListener('keyup', displayResults);
|
51
51
|
|
52
|
-
field.addEventListener('
|
53
|
-
if (event.
|
52
|
+
field.addEventListener('keydown', function(event) {
|
53
|
+
if (event.key === 'Enter') {
|
54
54
|
event.preventDefault();
|
55
55
|
}
|
56
56
|
});
|
data/_layouts/default.html
CHANGED
data/assets/manifest.json
CHANGED
data/assets/scripts/sw.js
CHANGED
@@ -10,14 +10,14 @@ const cacheName = `static::${version}`;
|
|
10
10
|
const buildContentBlob = () => {
|
11
11
|
return [
|
12
12
|
{%- for post in site.posts limit: 10 -%}
|
13
|
-
"{{ post.url }}",
|
13
|
+
"{{ post.url | relative_url }}",
|
14
14
|
{%- endfor -%}
|
15
15
|
{%- for page in site.pages -%}
|
16
16
|
{%- unless page.url contains 'sw.js' or page.url contains '404.html' -%}
|
17
|
-
"{{ page.url }}",
|
17
|
+
"{{ page.url | relative_url }}",
|
18
18
|
{%- endunless -%}
|
19
19
|
{%- endfor -%}
|
20
|
-
"{{ site.logo }}", "/assets/default-offline-image.png", "/assets/scripts/fetch.js"
|
20
|
+
"{{ site.logo | relative_url }}", "{{ site.baseurl }}/assets/default-offline-image.png", "{{ site.baseurl }}/assets/scripts/fetch.js"
|
21
21
|
]
|
22
22
|
}
|
23
23
|
|
@@ -75,7 +75,7 @@ self.addEventListener("fetch", event => {
|
|
75
75
|
|
76
76
|
if (request.url.match(/\.(jpe?g|png|gif|svg)$/)) {
|
77
77
|
// If url requested is an image and isn't cached, return default offline image
|
78
|
-
offlineAsset = "/assets/default-offline-image.png";
|
78
|
+
offlineAsset = "{{ site.baseurl }}/assets/default-offline-image.png";
|
79
79
|
}
|
80
80
|
|
81
81
|
// For all urls request image from network, then fallback to cache, then fallback to offline page
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alembic-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Darnes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|