jekyll-whiteglass 1.6.0 → 1.6.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: d9009cb05943048fffbf23fcaf8cc1887461b472c99f5ecc60c6500c1810370f
4
- data.tar.gz: 33fd5d03e5fa3274fb3975ad1df628249171b25e15f62491928e0336e2268720
3
+ metadata.gz: c258546c3c41a53faacbf840e6978be1b4c92788f5735617e1d43c03753d621c
4
+ data.tar.gz: e063698a7905f564cc77b772e49ff1469f2df4983897601dad8a64814c3102bc
5
5
  SHA512:
6
- metadata.gz: eb258c0441820890a8f4b9707bdfc1c03ce53dda6c7ac56bb8e8c302c5bf3beb6565ec8ea943e4048ac3544cd76447d2f4bbdea2092ed61ea759600954d4f55a
7
- data.tar.gz: 12c0fe374e54bcaf9e326a9c49e23674cf9ee581d6620dff533cd2fae6a898e8eb0c486c0b77030f98ae18eb60c451e4f224527132b8214369b42f712d9e7b14
6
+ metadata.gz: 2663e84f6eff2f638c6ead2d06a0da04e2b15611eaa9624e3ecd5dd6c3e1c87066389ea6ffde2185025ee3579a2df2e09cb358d90e885423227e2644e0ff73dd
7
+ data.tar.gz: 964344b4dcfcb801ddeaf39e2f07b84746da93c1f06a5f7bab59fdf80f144bc0667c8b858b87a113c8da47b7af3c56f112b73baac598ab53375014836c198bef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ChangeLog
2
2
 
3
+ ## 1.6.1 (2018-04-09)
4
+
5
+ - Fix lang attribute for post with external URL
6
+
3
7
  ## 1.6.0 (2018-04-09)
4
8
 
5
9
  - Appropriately size h1s in the post body (#19)
@@ -26,11 +26,10 @@ layout: default
26
26
  </span>
27
27
 
28
28
  <h2>
29
- {% capture link_lang %}{% if lang != empty %} lang="{{ lang }}"{% endif %}{% endcapture %}
30
29
  {% if post.external-url %}
31
- <a class="post-link" href="{{ post.external-url }}"{{ link_lang }}>{{ post.title | escape }} &rarr;</a>
30
+ <a class="post-link" href="{{ post.external-url }}">{{ post.title | escape }} &rarr;</a>
32
31
  {% else %}
33
- <a class="post-link" href="{{ post.url | relative_url }}"{{ link_lang }}>{{ post.title | escape }}</a>
32
+ <a class="post-link" href="{{ post.url | relative_url }}"{% if lang != empty %} lang="{{ lang }}"{% endif %}>{{ post.title | escape }}</a>
34
33
  {% endif %}
35
34
  </h2>
36
35
  </li>
@@ -24,11 +24,10 @@ layout: default
24
24
  </span>
25
25
 
26
26
  <h2>
27
- {% capture link_lang %}{% if lang != empty %} lang="{{ lang }}"{% endif %}{% endcapture %}
28
27
  {% if post.external-url %}
29
- <a class="post-link" href="{{ post.external-url }}"{{ link_lang }}>{{ post.title | escape }} &rarr;</a>
28
+ <a class="post-link" href="{{ post.external-url }}">{{ post.title | escape }} &rarr;</a>
30
29
  {% else %}
31
- <a class="post-link" href="{{ post.url | relative_url }}"{{ link_lang }}>{{ post.title | escape }}</a>
30
+ <a class="post-link" href="{{ post.url | relative_url }}"{% if lang != empty %} lang="{{ lang }}"{% endif %}>{{ post.title | escape }}</a>
32
31
  {% endif %}
33
32
  </h2>
34
33
  </li>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-whiteglass
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chayoung You