Files
com.xaymar.www/_includes/breadcrumbs.liquid
T
Michael Fabian 'Xaymar' Dirks 6adf42d457 Add new Features:
- Block Alignments
- Tables
- Media with Links
- Block Sizes
2021-12-28 19:43:39 +01:00

28 lines
746 B
Plaintext

<div class="breadcrumbs">
<span class="crumb">
<a href="{{ site.url | absolute_url }}">
{{ site.xaymar.info.home }}
</a>
</span>
{% if include.permalink != "/" and include.permalink != "/index.html" %}
&raquo;
{% assign cnt=page.categories | size %}
{% if cnt > 0 %}
{% for entry in page.categories %}
{% assign category=entry | slugify: site.xaymar.links.category.slugify %}
<span class="crumb">
<a href="{{ site.xaymar.links.category.permalink | replace: ":cat", category | absolute_url }}">
{{ entry }}
</a>
</span>
{% endfor %}
&raquo;
{% endif %}
<span class="crumb">
<a href="{{ include.permalink | absolute_url }}">
{{ include.title }}
</a>
</span>
{% endif %}
</div>