benjeto-jekyll-theme 0.2.9 → 0.3.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: 6e4056040a841306e27808cf3fcc848887292f508b193b1300237a1cac37fedb
4
- data.tar.gz: '0854f77b02f00d5c3328ae825ca73710d24d0042d54dd66ca6ee0dac1bf1c697'
3
+ metadata.gz: ce56e14561fefa061a2c7d480f4591afedc620b4dea6cdbf3d1ffb1bd72e93c5
4
+ data.tar.gz: 4e6829d98bafb40b0e2684eeee578499002b3ab28f6c784b32b0dca4c200bdba
5
5
  SHA512:
6
- metadata.gz: c4963f0955bb5c8da161eb77a00cbc4c3670a396fb943c01639746dba10bf84c4655628e3cce1000c357381ddf5eda6518a63c51181f0ca3c37cf8567cb73473
7
- data.tar.gz: 2be1215b24ede00496d7646c01be767925f22eb400bdcbfe80c1ab6a439777bf2e93066a7cd6006ebe3ad1ac14f29061b4f118a4079f1a9f7e29308e1dfd9383
6
+ metadata.gz: 8dc722fae29f65473592fbcfabc0e60c3a5959a1311478e25bea6bec1e747d15118e87446b4c8cda9a9173fa3c6b59f83a260e68a66883e636134bc97192c648
7
+ data.tar.gz: 2a97bd14ee5757bdc5aa4ac5df3dc39b4f970c6a91079f425f179d64b2630d68bd15520740ba49a6b7ff45a8bf6caefbd568047396f816501ca2ec411cc10c58
@@ -2,7 +2,7 @@
2
2
  {%- assign title = include.title -%}
3
3
  {%- assign aspect = include.aspect | default: "16 / 9" -%}
4
4
  {%- if id -%}
5
- <iframe class="nicovideo" style="aspect-ratio: {{ aspect }}" src="https://embed.nicovideo.jp/watch/{{ id }}" title="{{ texts.nicovideo_title }}" frameborder="0" allowfullscreen>
5
+ <iframe class="nicovideo" style="aspect-ratio: {{ aspect }}" src="https://embed.nicovideo.jp/watch/{{ id }}" title="{{ texts.nicovideo_title }}" allow="clipboard-write; encrypted-media; picture-in-picture; web-share" referrerpolicy="no-referrer" allowfullscreen sandbox="allow-scripts">
6
6
  <a href="https://www.nicovideo.jp/watch/{{ id }}" target="_blank" rel="noopener noreferrer">{{ title | default: texts.nicovideo_link }}</a>
7
7
  </iframe>
8
8
  {%- endif -%}
@@ -9,7 +9,7 @@
9
9
  <h2>{{ post.title | escape }}</h2>
10
10
  {%- endif %}
11
11
  {%- if post.title == "" or settings.home.show_excerpts == true %}
12
- {{ post.excerpt }}
12
+ {{ post.excerpt | replace: "<a ", "<span " | replace: "</a>", "</span>" }}
13
13
  {%- endif %}
14
14
  </a>
15
15
  </div>
@@ -2,7 +2,7 @@
2
2
  {%- assign title = include.title -%}
3
3
  {%- assign aspect = include.aspect | default: "16 / 9" -%}
4
4
  {%- if id -%}
5
- <iframe class="youtube" style="aspect-ratio: {{ aspect }}" src="https://www.youtube-nocookie.com/embed/{{ id }}" title="{{ texts.youtube_title }}" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
5
+ <iframe class="youtube" style="aspect-ratio: {{ aspect }}" src="https://www.youtube-nocookie.com/embed/{{ id }}" title="{{ texts.youtube_title }}" allow="clipboard-write; encrypted-media; picture-in-picture; web-share" referrerpolicy="no-referrer" allowfullscreen sandbox="allow-scripts allow-same-origin">
6
6
  <a href="https://www.youtube.com/watch?v={{ id }}" target="_blank" rel="noopener noreferrer">{{ title | default: texts.youtube_link }}</a>
7
7
  </iframe>
8
8
  {%- endif -%}
@@ -506,10 +506,10 @@ article.feed-post, div.custom-feed {
506
506
  }
507
507
  div.post-excerpt {
508
508
  p {
509
- margin: 0;
509
+ margin: 2px 0;
510
510
  }
511
511
  iframe.youtube, iframe.nicovideo {
512
- margin: 6px 0;
512
+ margin: 8px 0;
513
513
  height: 240px;
514
514
  }
515
515
  }
@@ -45,13 +45,3 @@ figure {
45
45
  }
46
46
  }
47
47
 
48
- div.post-excerpt {
49
- figcaption {
50
- display: none;
51
- }
52
- figure.audio {
53
- padding: 0;
54
- border: none;
55
- }
56
- }
57
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benjeto-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cizzuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2024-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll