2021-09-19 23:57:02 +02:00
|
|
|
<div id="breadcrumbs">
|
|
|
|
<b>Location: </b>
|
|
|
|
{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
|
|
|
|
<a href="/">Home</a>
|
|
|
|
{% for crumb in crumbs offset: 1 %}
|
|
|
|
{% if forloop.last %}
|
|
|
|
> {{ page.title }}
|
|
|
|
<!-- add more strings here to remove them from breadcrumbs -->
|
|
|
|
{% elsif crumb == "services" %}
|
|
|
|
{% elsif crumb == "site" %}
|
|
|
|
{% elsif crumb == "rules" %}
|
|
|
|
{% elsif crumb == "terms" %}
|
|
|
|
{% elsif crumb == "privacy" %}
|
|
|
|
{% elsif crumb contains "=" %}
|
2022-01-08 22:27:11 +01:00
|
|
|
{% elsif crumb contains "_" %}
|
2021-09-19 23:57:02 +02:00
|
|
|
{% else %}
|
|
|
|
> <a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|