jekyll-theme-simple-texture 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/post.html +8 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac1734728ff55797193c2de5e3d832e7faceaeca
4
- data.tar.gz: c978f61523fef29211f8e889a73a6d44d43df8d4
3
+ metadata.gz: f41cbfd1ae47baaf510dcd49d5f8a9c999a2257f
4
+ data.tar.gz: 76231f4893061bcd995d8a53c98f6b8feaa54278
5
5
  SHA512:
6
- metadata.gz: 32fae26c2e98724b0826bd58bf884402332bafc2836788b360570300022176ba31f37227b795c787c97acc3a0cde728054bce14a5c0d4aeafe6ed79acbd9502d
7
- data.tar.gz: 0b5d3e8d0eaf090858b7aef3fbd2bcfd3c4fac117be79ceb6635eba8ffb38a6bfef5f9efd1825a6d1644860fee001b617053a5359fc46e09be3673e27c45e7a9
6
+ metadata.gz: a85ea7a65cbe39091101e78d2aa97ab82c8f44f83a23ef51743c9f6e2dcfd14aa75fc075f08c6ffe2401789fe45dfd12ed021466d3964327b5e3b7e3ee76330f
7
+ data.tar.gz: 17589569101b03f1cebc7d5ef2c1085be79bed1fb9c3020b6150bd7c5cbd229f8be8d33c98d1342368eaf41b7caf09759b44ccf27440ebd9dcb68c867b34bc3a
data/_layouts/post.html CHANGED
@@ -24,11 +24,15 @@ layout: blog
24
24
  <span itemprop="name">{% if page.author == null %}{{ site.author.name }}{% else %}{{ page.author }}{% endif %}</span>
25
25
  </span>
26
26
  </a>
27
- <a class="license-icon" rel="license" href="{{ site.blog.cc_license }}" target="_blank" title="{{ site.data.i18n[site.lang].show_license }}">
27
+ {% if site.blog.cc_license and site.blog.cc_license_image %}
28
+ <a class="license-icon" rel="license" href="{{ site.blog.cc_license }}" target="_blank" title="{{ site.data.i18n[site.lang].show_license }}">
28
29
  <img alt="Creative Commons Licence" style="border-width:0" src="{{ site.blog.cc_license_image | relative_url }}" height="16" width="80"/>
29
- </a> {% if page.last_updated %} ({{ site.data.i18n[site.lang].last_updated
30
- }}:
31
- <time class="date-updated updated" title="{{ page.last_updated | date_to_xmlschema }}" datetime="{{ page.last_updated | date_to_xmlschema }}">{{ page.last_updated }}</time>) {% endif %}
30
+ </a>
31
+ {% endif %}
32
+ {% if page.last_updated %}
33
+ ({{ site.data.i18n[site.lang].last_updated}}:
34
+ <time class="date-updated updated" title="{{ page.last_updated | date_to_xmlschema }}" datetime="{{ page.last_updated | date_to_xmlschema }}">{{ page.last_updated }}</time>)
35
+ {% endif %}
32
36
  </p>
33
37
  <ul class="list-category list-linear">
34
38
  <li class="list-head">{{ site.data.i18n[site.lang].categories }}: </li>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-simple-texture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yi Zeng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-03 00:00:00.000000000 Z
11
+ date: 2017-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll