_layouts/post.html in logchimp-0.0.7 vs _layouts/post.html in logchimp-0.0.8
- old
+ new
@@ -18,11 +18,11 @@
</a>
</div>
<div class="category">
{% if page.category %}
- {% for categoryMeta in site.data.category %}
+ {% for categoryMeta in site.data.badge.category %}
{% if page.category == categoryMeta.name %}
<div class="category-meta {% if page.author %}mb10{% endif %}" style="background-color: #{{ categoryMeta.color }}; border: 1px solid #{{ categoryMeta.color }};">
{{ page.category }}
</div>
{% else %}
@@ -36,10 +36,10 @@
</div>
{% if site.teams %}
<div class="author">
{% if page.author %}
- {% for author in site.data.teams %}
+ {% for author in site.data.team.author %}
{% if page.author == author.name %}
{% if author.image %}
<img src="{{ author.image | relative_url }}" alt="{{ author.name }}">
{% else %}
<span class="authorImagePlaceholder">
\ No newline at end of file