_includes/meta.html in jekyll-theme-perry-0.1.0 vs _includes/meta.html in jekyll-theme-perry-0.1.1

- old
+ new

@@ -4,10 +4,10 @@ &nbsp; | &nbsp; <i class='fa fa-user'></i> <span itemprop='author'><a href='//www.perry-online.me.uk/author/{{ author.name | downcase | replace: '& ', '' | replace: ' ', '-' }}/' title='{{ author.name }}'>{{ author.name }}</a></span> {% if post.categories.size > 0 %} &nbsp; | &nbsp; <i class='fa fa-folder-open'></i> <span itemprop='keywords'>{% for category in post.categories %} - <a href='/{{ category }}/' class="{{ category }}">{{ site.post_categories[category].name }}</a>{% unless forloop.last %}, {% endunless %}{% endfor %} + <a href='/{{ category }}/' class="{{ category }}">{% if site.post_categories %}{{ site.post_categories[category].name }}{% else %}{{ category}}{% endif %}</a>{% unless forloop.last %}, {% endunless %}{% endfor %} </span>{% endif %} {% if post.tags.size > 0 %} &nbsp; | &nbsp; <i class='fa fa-tags'></i> <span itemprop='keywords'>{% for tag in post.tags %} <a href='/tags/{{ tag | slugify }}/' class="{{ tag }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}{% endfor %} \ No newline at end of file