aemi 1.2.6 → 1.2.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44851b583cb819249fc42e23028873c2dfc7cefe930c538a6c6e6d552c292793
4
- data.tar.gz: 300d5906ddc4bf1286bb7feadf364e0d731273abbece187300af82de56aeca5d
3
+ metadata.gz: 8e7a8e60b91c40a434a0f73ba557cb41a21da605d63562e3691e77a51bd9d518
4
+ data.tar.gz: cce018972b89656a4957cc6a68ee2c6c8cdf8bc99765604186bc62a92258731f
5
5
  SHA512:
6
- metadata.gz: c136bf9f0003c79496ed44da5ff1845ac10b9b26bb8ac9685b84896cdde8ed04f26faf9be817e84b3173ff2a92c4181f8285a6d4161c7ef3d0e35e232ed49836
7
- data.tar.gz: 1d1a3102a2c1f0a72f23f7c02bbf8fcbce77cfa81fadf950ce9cb258d4362f13a9412c1825127beb638b048975a5366213360b4fa6831d57103ff03222a85ab8
6
+ metadata.gz: ac26b8fed4c0274d5024c8d3a9401be9fb9b45c67784a94ba7993212f6d3d4a155119b5c2a4431caae2ccb46b8904b76f357429d8830ebd257f8dfccc0a83d60
7
+ data.tar.gz: 589b95cf35b9e800551904d5c8bfeebf452915a0ca1f47fbfb97f7ddcdf26948c38086d9c9cc0a637b33be37d720b2c0d695f4961f4f98416040cd94f1ab7b8f
data/_data/mime.yml CHANGED
@@ -14,7 +14,7 @@ types:
14
14
  type: png
15
15
  video:
16
16
  -
17
- ext: avif.webm
17
+ ext: mp4
18
18
  type: av1
19
19
  -
20
20
  ext: mov
@@ -22,7 +22,4 @@ types:
22
22
  -
23
23
  ext: webm
24
24
  type: webm
25
- -
26
- ext: mp4
27
- type: mp4
28
25
 
@@ -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.7
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.