jekyll-theme-hamilton 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_includes/image.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39480af49998d2e8dad95156c9076711b51471f534f4cc644b087dee88ff34fa
|
4
|
+
data.tar.gz: 926c34c3672bb17eccb6816068b9a74c002574e35bab9ed9beadd610e0a26f9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5417ce5ef6d93fd608e20bbb7e260296a626c5f7277ed41c07d76ed1c01a56fe51a79aa8dcd47aac78bccf255bdafc02879bb2c2a44bcb4dfa7e79cd2946d6d
|
7
|
+
data.tar.gz: 83916ef5b7495f9c8c7450df7fdb5db2744ae09f4d2b71c3c85a390015100305a1cdf017512ac431bb30c7bf1ee479c4100d031093f0747ee985f17bfc2eca6c
|
data/README.md
CHANGED
@@ -139,7 +139,7 @@ You can also configure the width and height of the image,
|
|
139
139
|
|
140
140
|
Besides, you can pass the `caption` parameter to the include, then it will wrap the `img` with a `figure` block; alternatively, you can pass the `alt` parameter to the include.
|
141
141
|
|
142
|
-
If you feel that passing a long path to the image to the include is ugly and wasting time, you can replace the `src` parameter with the `name` parameter, which is just the name of the image, and by default, the path would be `assets/img/{{ page.title | slugify}}/{{ include.name }}`.
|
142
|
+
If you feel that passing a long path to the image to the include is ugly and wasting time, you can replace the `src` parameter with the `name` parameter, which is just the name of the image, and by default, the path would be `assets/img/posts/{{ page.title | slugify}}/{{ include.name }}`.
|
143
143
|
|
144
144
|
## Customization
|
145
145
|
|
data/_includes/image.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
{%- if include.src -%}
|
4
4
|
{% assign src = include.src %}
|
5
5
|
{%- elsif include.name -%}
|
6
|
-
{% capture src %}assets/img/{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
|
6
|
+
{% capture src %}assets/img/posts/{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
|
7
7
|
{%- endif -%}
|
8
8
|
|
9
9
|
{% if include.caption %}
|