blob 3b931285cd7b45f3f49dbb2998c581aaf1e0f5e6 781 bytes (raw)
name: Documentation/_includes/breadcrumb.html # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| | {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2026 Valentin Gagarin <valentin@gagarin.work>
{% endcomment %}
{%- unless page.url == '/' -%}
<nav aria-label="Breadcrumb">
<a href="/">Spectrum</a>
{%- assign parts = page.url | split: '/' -%}
{%- assign acc = '' -%}
{%- for part in parts offset: 1 -%}
{%- assign acc = acc | append: '/' | append: part -%}
{%- assign parent_url = acc | append: '/' -%}
{%- if parent_url == page.url -%}{%- continue -%}{%- endif -%}
{%- assign parent = site.pages | where: 'url', parent_url | first -%}
{%- if parent %}
/ <a href="{{ parent.url }}">{{ parent.title }}</a>
{%- endif -%}
{%- endfor %}
/ <span aria-current="page">{{ page.title }}</span>
</nav>
{%- endunless -%}
|
debug log:
solving 3b93128 ...
found 3b93128 in https://spectrum-os.org/git/spectrum
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).