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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_includes/image.html +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cbbaea4092791fef3abbe86413a793e46df9db0bcb5b198dc8a86946ce541a4
4
- data.tar.gz: 9df9982f13bdd725c83d3f9988494bf4caaa74f1d1884a11112edb1288a91f85
3
+ metadata.gz: 39480af49998d2e8dad95156c9076711b51471f534f4cc644b087dee88ff34fa
4
+ data.tar.gz: 926c34c3672bb17eccb6816068b9a74c002574e35bab9ed9beadd610e0a26f9e
5
5
  SHA512:
6
- metadata.gz: 599f91e99e5aa734856d7f39ff4f474056ef7f9daa6b18129be5a2fc2d349f47bb4c1ee5c788b2ae2b187efdc9f70a817196846d7462bbc7c6ed6f43c3fb9183
7
- data.tar.gz: a63b5a6872435c6b47b186cc739841672a82e8701ad8c9ef07551a4ad1317141513747194c5e5c977fcb211fb69250f2debefed8dab50e29896e07c2c2fb7963
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
 
@@ -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 %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hamilton
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shangzhi Huang