1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 14:34:37 +04:00

breadcrumb

This commit is contained in:
chomik
2019-05-20 23:59:30 +02:00
parent a0e91635c7
commit c4307886ea
6 changed files with 44 additions and 1315 deletions
+10
View File
@@ -0,0 +1,10 @@
{% assign pages = include.pages | default: "Home,Library,Data" | split: "," %}
<ol class="breadcrumb{% if include.class %} {{ include.class }}{% endif %}">
{% for page in pages %}
{% if forloop.last %}
<li class="breadcrumb-item active" aria-current="page">{{ page }}</li>
{% else %}
<li class="breadcrumb-item"><a href="#">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ol>