diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 7b58db68..222f4750 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -17,13 +17,7 @@ {% endif %} -

- {% if post.link %} - {{ title }} Permalink - {% else %} - {{ title }} - {% endif %} -

+
{{ title }} {% if post.excerpt %}

{{ post.excerpt | markdownify | strip_html | truncate: 300 }}

{% endif %}

Updated: {{ post.last_modified_at }} {% include read-time.html %}

@@ -35,16 +29,17 @@ {% if company.parent %}{% assign tags = company.parent | push: post.name %}{% endif %} {% if company.related != Nil %} {% if company.related contains ';'%} - {% assign tags = company.related |split: ';' | push: post.name %} - {%else %} - {% assign tags = company.related | push: post.name %} - {%endif%} + {% assign tgs = company.related |split: '; ' | push: post.name %} + {% assign tags = tags | concat: tgs %} + {% else %} + {% assign tags = tags | push: company.related | push: post.name %} + {% endif%} {% endif %} {% if tags != Nil %} - {% assign sorted_tags = tags | concat: post.tags | push: post.name | uniq | compact | sort %} + {% assign sorted_tags = tags | concat: post.tags | uniq | compact | sort_natural %} {% elsif post.tags !=Nil %} - {% assign sorted_tags = post.tags | push: post.name | uniq | compact | sort_natural %} - {%endif%} + {% assign sorted_tags = post.tags | uniq | compact | sort_natural %} + {% endif%} {% endif %} {% endfor %} {% else %} @@ -52,6 +47,6 @@ {% endif %} {% for tag in sorted_tags %}
{{ tag }}
- {% endfor %}
+ {% endfor %} \ No newline at end of file