mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
为剪贴板添加面包屑
This commit is contained in:
1 parent
9bb94f101d
commit
649f65b17d
11 files changed
+28
-9
No files matched your search
@@ -5,7 +5,7 @@
|
||||
<div class="media__body">
|
||||
<div class="location-path">
|
||||
{% for c in path %}
|
||||
/ {% if c[1] %}<a href="{{ c[1] }}">{{ c[0] if c[2] else _(c[0]) }}</a>{% endif %}
|
||||
/ {% if loop.index < path.length %}<a href="{{ c[1]|default('#') }}">{{ c[0] if c[2] 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>
|
||||
|
||||
Reference in new issue
Block a user