benjeto-jekyll-theme 0.2.9 → 0.3.1

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: 9af5628f32a23074a4ce89b7ab14ff2b3b7bddb0d121160687b2c29d2c1b4fc1
4
+ data.tar.gz: ed5bdc52393bbf4e6360bda721d3614a9240c28d406460b1630eae6c13d894b4
5
5
  SHA512:
6
- metadata.gz: c4963f0955bb5c8da161eb77a00cbc4c3670a396fb943c01639746dba10bf84c4655628e3cce1000c357381ddf5eda6518a63c51181f0ca3c37cf8567cb73473
7
- data.tar.gz: 2be1215b24ede00496d7646c01be767925f22eb400bdcbfe80c1ab6a439777bf2e93066a7cd6006ebe3ad1ac14f29061b4f118a4079f1a9f7e29308e1dfd9383
6
+ metadata.gz: 9caed8aa6a7aac518e62a855e13d1549513161b6dfabcb40e06505c2ece810a9ddce61f7baaa246379fbdce452529e7bec0598c9c768792b9cb86b0017969942
7
+ data.tar.gz: b1ca7d9be862c568cd583df7670c0a82f6a8e2cc8831af743093374bb0b364ec6498a6409f12ee4e77367e3dceb6ea506e132a2793a7102f597492cb894e3964
@@ -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 allow-same-origin">
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 -%}
@@ -379,6 +379,7 @@ div.header {
379
379
  margin-bottom: -8px;
380
380
  background: var(--boxbg);
381
381
  border-radius: 0 0 8px 8px;
382
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
382
383
  img {
383
384
  vertical-align: bottom;
384
385
  width: 100%;
@@ -506,10 +507,10 @@ article.feed-post, div.custom-feed {
506
507
  }
507
508
  div.post-excerpt {
508
509
  p {
509
- margin: 0;
510
+ margin: 2px 0;
510
511
  }
511
512
  iframe.youtube, iframe.nicovideo {
512
- margin: 6px 0;
513
+ margin: 8px 0;
513
514
  height: 240px;
514
515
  }
515
516
  }
@@ -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.1
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-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll