summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/bc.twig
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-26 21:18:29 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-27 01:04:47 +0300
commitcf0b9f036b3e3eb218610e7eeececda1320d9f50 (patch)
tree39e6d1853aecb3fb77036a941a4c6df12a0ce793 /localwebsite/templates-web/bc.twig
parentc3ed2483ea508141431be74f29f7c209271897cd (diff)
auth
Diffstat (limited to 'localwebsite/templates-web/bc.twig')
-rw-r--r--localwebsite/templates-web/bc.twig12
1 files changed, 12 insertions, 0 deletions
diff --git a/localwebsite/templates-web/bc.twig b/localwebsite/templates-web/bc.twig
new file mode 100644
index 0000000..b74ad40
--- /dev/null
+++ b/localwebsite/templates-web/bc.twig
@@ -0,0 +1,12 @@
+<nav aria-label="breadcrumb">
+ <ol class="breadcrumb">
+ <li class="breadcrumb-item"><a href="/">Главная</a></li>
+ {% for item in history %}
+ <li class="breadcrumb-item"{% if loop.last %} aria-current="page"{% endif %}>
+ {% if item.link %}<a href="{{ item.link }}">{% endif %}
+ {{ item.html ? item.html|raw : item.text }}
+ {% if item.link %}</a>{% endif %}
+ </li>
+ {% endfor %}
+ </ol>
+</nav> \ No newline at end of file