mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
20 lines
716 B
HTML
20 lines
716 B
HTML
<div class="location" data-fragment-id="path">
|
|
{% if not no_path_section %}
|
|
<div class="row"><div class="columns">
|
|
<div class="media">
|
|
<div class="media__body">
|
|
<div class="location-path">
|
|
{% for c in path %}
|
|
/ {% if loop.index < path.length %}<a href="{{ url(c[1], c[2])|default('#') }}">{{ c[0] if c[3] else _(c[0]) }}</a>{% endif %}
|
|
{%- endfor %}
|
|
</div>
|
|
<h1 class="location-current" data-emoji-enabled>{{ path[path.length - 1][0] if path[path.length - 1][2] else _(path[path.length - 1][0]) }}</h1>
|
|
</div>
|
|
<div class="media__right">
|
|
{% include "partials/hamburger.html" %}
|
|
</div>
|
|
</div>
|
|
</div></div>
|
|
{% endif %}
|
|
</div>
|