mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-12-25 07:09:33 -05:00
fix broken
This commit is contained in:
parent
4e975e2785
commit
74794fce67
@ -28,22 +28,19 @@
|
|||||||
<p class="page__meta"><strong>Updated:</strong> {{ post.last_modified_at }} <i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
<p class="page__meta"><strong>Updated:</strong> {{ post.last_modified_at }} <i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
||||||
|
|
||||||
{% if post.name %}
|
{% if post.name %}
|
||||||
{% assign name = post.name %}
|
|
||||||
{% for company in site.data.companys %}
|
{% for company in site.data.companys %}
|
||||||
{% if name == company.name %}
|
{% if post.name == company.name %}
|
||||||
{% if company.parent %}
|
{% if company.parent %}
|
||||||
{% assign related = company.parent %}
|
{% assign tags = company.parent | push: post.name %}
|
||||||
{% assign splittags = company.related | split: ";" %}
|
|
||||||
{% assign splittags = splittags | push: related | push: name %}
|
|
||||||
{% assign sorted_tags = splittags | concat: post.tags | push: name | compact | uniq | sort %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if company.related %}
|
{% if company.related %}
|
||||||
{% assign related = company.related %}
|
{% if tags != Nil %}
|
||||||
{% assign splittags = related | append: ";" | append: name %}
|
{% assign tags = tags | push: company.related %}
|
||||||
{% assign splittags = splittags | split: ";" | compact %}
|
{%else %}
|
||||||
{% assign sorted_tags = splittags | concat: post.tags | push: name | uniq | sort %}
|
{% assign tags = company.related %}
|
||||||
|
{%endif%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% assign sorted_tags = post.tags | push: name | uniq | compact | sort %}
|
{% assign sorted_tags = tags | concat: post.tags | uniq | compact | sort %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user