aemi 1.2.6 → 1.2.8

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: 44851b583cb819249fc42e23028873c2dfc7cefe930c538a6c6e6d552c292793
4
- data.tar.gz: 300d5906ddc4bf1286bb7feadf364e0d731273abbece187300af82de56aeca5d
3
+ metadata.gz: a88377e2f44b26441fab6719631975c7e2ad1018a156688c6ca4e7410abfcffa
4
+ data.tar.gz: 7a0766f1a75cf0aab40fa3bed04056263a151ffe4c9710da376b18d69aaef599
5
5
  SHA512:
6
- metadata.gz: c136bf9f0003c79496ed44da5ff1845ac10b9b26bb8ac9685b84896cdde8ed04f26faf9be817e84b3173ff2a92c4181f8285a6d4161c7ef3d0e35e232ed49836
7
- data.tar.gz: 1d1a3102a2c1f0a72f23f7c02bbf8fcbce77cfa81fadf950ce9cb258d4362f13a9412c1825127beb638b048975a5366213360b4fa6831d57103ff03222a85ab8
6
+ metadata.gz: 77673b8b86c7f43f128120bbbb26d68178f8f992abb7b52a650924aaac5bcf0b66c749ad98f5d96ef2600e9d47fab093bc4ce1d3e65301d9eec763d51988e133
7
+ data.tar.gz: e3947a9519d0e555875a3c001dce3c0e7d848124c9dd922f0f7f44050889a2851b14b1ec0a402096dcaf5d3f144c591120bb8e3c42bd89b6b36a34d3aade52ad
data/_data/mime.yml CHANGED
@@ -14,15 +14,15 @@ types:
14
14
  type: png
15
15
  video:
16
16
  -
17
- ext: avif.webm
17
+ ext: avif
18
18
  type: av1
19
19
  -
20
20
  ext: mov
21
21
  type: H265
22
- -
23
- ext: webm
24
- type: webm
25
22
  -
26
23
  ext: mp4
27
24
  type: mp4
25
+ -
26
+ ext: webm
27
+ type: webm
28
28
 
@@ -6,17 +6,7 @@
6
6
  {% if include.alt != nil %}alt="{{ include.alt | escape }}"{% endif %}
7
7
  width="100%">
8
8
  {% for format in site.data.mime.types.video %}
9
- {% if include.portrait == true %}
10
- <source src="{{ include.name }}.full.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-height: 2560px)">
11
- {% for size in site.data.sizes.portrait %}
12
- <source src="{{ include.name }}.{{ size.height }}p.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-height: {{ size.height }}px)">
13
- {% endfor %}
14
- {% else %}
15
- <source src="{{ include.name }}.full.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-width: 2560px)">
16
- {% for size in site.data.sizes.landscape %}
17
- <source src="{{ include.name }}.{{ size.height }}p.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-width: {{ size.width }}px)">
18
- {% endfor %}
19
- {% endif %}
9
+ <source src="{{ include.name }}.{{ format.ext }}" type="video/{{ format.type }}">
20
10
  {% endfor %}
21
11
  </video>
22
12
  {% if include.caption != nil %}
data/_includes/video.html CHANGED
@@ -5,17 +5,7 @@
5
5
  {% if include.controls == true %}controls{% endif %}
6
6
  {% if include.alt != nil %}alt="{{ include.alt | escape }}"{% endif %} width="100%">
7
7
  {% for format in site.data.mime.types.video %}
8
- {% if include.portrait == true %}
9
- <source src="{{ include.name }}.full.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-height: 2560px)">
10
- {% for size in site.data.sizes.portrait %}
11
- <source src="{{ include.name }}.{{ size.height }}p.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-height: {{ size.height }}px)">
12
- {% endfor %}
13
- {% else %}
14
- <source src="{{ include.name }}.full.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-width: 2560px)">
15
- {% for size in site.data.sizes.landscape %}
16
- <source src="{{ include.name }}.{{ size.height }}p.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-width: {{ size.width }}px)">
17
- {% endfor %}
18
- {% endif %}
8
+ <source src="{{ include.name }}.{{ format.ext }}" type="video/{{ format.type }}">
19
9
  {% endfor %}
20
10
  </video>
21
11
  {% if include.alt != nil %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aemi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume C
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-11 00:00:00.000000000 Z
11
+ date: 2024-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubygems_version: 3.5.7
191
+ rubygems_version: 3.5.10
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Aemi theme, thought to mimic the Aemi WordPress Theme.