Skip to content

Commit

Permalink
Remove links from categories
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddarnes committed Jan 1, 2018
1 parent 5c3749f commit 84430a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/post-meta.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% if page.categories %}
{% capture categories %}
{% for category in page.categories %}
<span class="label label--category"><a href="{{ site.baseurl }}/categories#{{ category | downcase }}">{{ category }}</a></span>{% if forloop.last == false %},{% endif %}
<span class="label label--category">{{ category }}</span>{% if forloop.last == false %},{% endif %}
{% endfor %}
{% endcapture %}
{% elsif page.category %}
{% capture categories %}
<span class="label label--category"><a href="{{ site.baseurl }}/categories#{{ page.category | downcase }}">{{ page.category }}</a></span>
<span class="label label--category">{{ page.category }}</span>
{% endcapture %}
{% endif %}

Expand Down

0 comments on commit 84430a1

Please sign in to comment.