Remove links from categories
This commit is contained in:
parent
5c3749f7df
commit
84430a140b
@ -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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user