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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ad02377a0054ca471c77b0df187de30b5c41162da73d40b4cce90dff9424244
4
- data.tar.gz: 9eefd9d805a080a5deabab5da16d81a7c2cafd2d7f5bae5fe2c08c841f8c3c53
3
+ metadata.gz: 4cb8ca79cd732609cbebc2ca85412ac04665804ee3069cefd1863dc796357b84
4
+ data.tar.gz: ffcaf7bba29ae527cdcc74530f41296cea84a4ea523486a30ed388a7c193ae90
5
5
  SHA512:
6
- metadata.gz: bc83dca602437e8065bf56f51bb2e4ec24287835ab57dcb2f5fa1fe57055b7f1748e16135a0b9a5d8c5d1c0d3c52786545ea37eb8946669fa3fe2ec7d44af9d1
7
- data.tar.gz: f904c93212a8467c203b79c2fc454e7a420708c58d8473554c18b1719e12d49b451678b465197a102a2a7b487da4798373788fecfbbae7ba129ee222f16e64af
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
- [Tweet it](https://twitter.com/intent/tweet/?url=https://alembic.darn.es&text=Alembic%20-%20A%20Jekyll%20boilerplate%20theme&via=DavidDarnes) | [Tip me $5 💸](https://www.paypal.me/daviddarnes/5usd)
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 }}">
@@ -49,8 +49,8 @@
49
49
 
50
50
  field.addEventListener('keyup', displayResults);
51
51
 
52
- field.addEventListener('keypress', function(event) {
53
- if (event.keyCode == 13) {
52
+ field.addEventListener('keydown', function(event) {
53
+ if (event.key === 'Enter') {
54
54
  event.preventDefault();
55
55
  }
56
56
  });
@@ -3,6 +3,7 @@
3
3
 
4
4
  <head>
5
5
  <!-- General meta -->
6
+ <meta charset="utf-8">
6
7
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
8
 
8
9
  {% if page.indexing == false %}
@@ -13,7 +13,7 @@ sitemap: false
13
13
  "icons": [
14
14
  {% for icon in site.favicons %}
15
15
  {
16
- "src": "{{ icon[1] }}",
16
+ "src": "{{ icon[1] | relative_url }}",
17
17
  "sizes": "{{ icon[0] }}x{{ icon[0] }}"
18
18
  }{% if forloop.last != true %},{% endif %}
19
19
  {% endfor %}
@@ -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.0.0
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: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2021-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll