benjeto-jekyll-theme 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/image.html +9 -3
- data/_includes/nicovideo.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2514ab7851137be300dd0b14ccda9aac43235bcccf22a78336994e48ed34b6f0
|
4
|
+
data.tar.gz: 8a830e00638a8ec9d8ecc99f41cdae7b69d6858313d32ead5a7780ebec4c29f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f481af5ecb63e0760e8be3492036a2d89494ab6d942bf1d9ffe53b02544cb1eeab60fb9ee5dfcfc761c3a9765b396383f04e8c88a609a023e686ea003865eee4
|
7
|
+
data.tar.gz: 9c5c7285353e6e4759a0057c0f0c87a24251d4fd69ae8d4aedd2e97837a2240144f1be71aa021cb88fec262fc5f1ea2cee6433052c51f7f96a5b3f7ec35dd0a2
|
data/_includes/image.html
CHANGED
@@ -3,14 +3,20 @@
|
|
3
3
|
<img src="{{ include.src | relative_url }}"
|
4
4
|
{% if include.pixel == true %}class="pixel"{% endif %}
|
5
5
|
{% if include.alt %}alt="{{ include.alt }}"{% endif %}>
|
6
|
+
{%- if include.caption or include.license %}
|
6
7
|
<figcaption>
|
7
8
|
{{ include.caption }}
|
8
|
-
{
|
9
|
+
{%- if include.license %}
|
9
10
|
<br>
|
10
11
|
<span class="license">
|
11
12
|
{{ texts.image_license }}
|
12
|
-
|
13
|
+
{%- if include.license_url %}
|
14
|
+
<a href="{{ include.license_url }}" target="_blank">{{ include.license }}</a>
|
15
|
+
{%- else %}
|
16
|
+
{{ include.license }}
|
17
|
+
{%- endif %}
|
13
18
|
</span>
|
14
|
-
{
|
19
|
+
{%- endif %}
|
15
20
|
</figcaption>
|
21
|
+
{%- endif %}
|
16
22
|
</figure>
|
data/_includes/nicovideo.html
CHANGED
@@ -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 }}" allow="clipboard-write; encrypted-media; picture-in-picture; web-share" referrerpolicy="no-referrer" allowfullscreen sandbox="allow-scripts">
|
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 -%}
|
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.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cizzuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|