mirror of
https://github.com/tabler/tabler.git
synced 2026-07-29 14:34:37 +04:00
breadcrumb
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user