{% if post.header.teaser %} {% capture teaser %}{{ post.header.teaser }}{% endcapture %} {% else %} {% assign teaser = site.teaser %} {% endif %} {% if post.id %} {% assign title = post.title | markdownify | remove: "

" | remove: "

" %} {% else %} {% assign title = post.title %} {% endif %}
{% if include.type == "grid" and teaser %}
{% endif %}

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

{% if post.excerpt %}

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

{% endif %}

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

{% if post.name %} {% assign name = post.name %} {% for company in site.data.companys %} {% assign dname = company.name %} {% if dname == name %} {% if company.parent %} {% assign related = company.parent %} {% assign splittags = company.related | split: ";" %} {% assign splittags = splittags | push: related | push: name %} {% assign sorted_tags = splittags | compact | sort_natural %} {% for tag in sorted_tags %}
{{ tag }}
{% endfor %}
{% elsif company.related %} {% assign related = company.related %} {% assign splittags = related | append: ";" | append: name %} {% assign splittags = splittags | split: ";" | compact %} {% assign sorted_tags = splittags | sort_natural %} {% for tag in sorted_tags %}
{{ tag }}
{% endfor %}
{% else %} {% assign sorted_tags = company.name %} {% for tag in sorted_tags %}
{{ tag }}
{% endfor %}
{% endif %} {% endif %} {% endfor %} {% elsif post.tags %} {% assign sorted_tags = post.tags | sort %} {% for tag in sorted_tags %}
{{ tag }}
{% endfor %}
{% endif %}