jekyll-theme-perry 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddc1e2dc676ad72fcbad166c2aa41972427a476d
4
- data.tar.gz: c142a7e4a7710f15e55344dfcdf0e04e4ea19205
3
+ metadata.gz: 4cab01115dd28f4fdf0df2f435361a3ead5193c3
4
+ data.tar.gz: 11131bd2670b67a6eb59a70d329944473663e143
5
5
  SHA512:
6
- metadata.gz: 15311760b14821488db6e065fe5abc19e072b9249c34dc6d6303527803ef3dd5f00b940933c07a2d65924daac5feab9ef82e9c6264f066c61d24ac5d263d7cc4
7
- data.tar.gz: 6ce4ef5caa94e93a3635b36371a80c28a7ff3c40d08db1c63a6e898bef9b52b1a775b6051a9cc08e8f82f176dddec64b056071ac0761d8a580661c4ef01ec3b8
6
+ metadata.gz: ece2988ebe3b39d991896c595d03373bc74fcb835cf874743e8f965b5e27a62371e39f3d721b4f2371362a7647d79619f5d0cb8dfa3a7c99dc8e9a49ce821e28
7
+ data.tar.gz: f61812ac31cf42687d7e0ab3f38da9dc5fc1753ca58e4fb95dd4e74061da8924e43c22bf43c5804efd6dcfb4f3454813f9199ce7a35f0702efdcd18a0ca35ded
data/_includes/meta.html CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  {% if post.categories.size > 0 %}   |  
8
8
  <i class='fa fa-folder-open'></i> <span itemprop='keywords'>{% for category in post.categories %}
9
- <a href='/{{ category }}/' class="{{ category }}">{{ site.post_categories[category].name }}</a>{% unless forloop.last %}, {% endunless %}{% endfor %}
9
+ <a href='/{{ category }}/' class="{{ category }}">{% if site.post_categories %}{{ site.post_categories[category].name }}{% else %}{{ category}}{% endif %}</a>{% unless forloop.last %}, {% endunless %}{% endfor %}
10
10
  </span>{% endif %}
11
11
 
12
12
  {% if post.tags.size > 0 %} &nbsp; | &nbsp;
@@ -3,7 +3,7 @@ layout: default
3
3
  ---
4
4
  {% capture title %}
5
5
  {% case page.type %}
6
- {% when 'tag' or 'category' %}{{ page.type | capitalize }}: {{ page.title }}
6
+ {% when 'tag' or 'category' %}{{ page.type | capitalize }}: {% if site.post_categories %}{{ site.post_categories[page.title].name }}{% else %}{{ page.title }}{% endif %}
7
7
  {% when 'year' %}Archives: {{ page.date | date: "%Y" }}
8
8
  {% when 'month' %}Archives: {{ page.date | date: "%B %Y" }}
9
9
  {% when 'day' %}Archvies: {{ page.date | date: "%d %b %Y" }}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-perry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Perry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-27 00:00:00.000000000 Z
11
+ date: 2017-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll