patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob f759807aa8c0208b1d2949bb9ae9c432e472f0b4 830 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
22
23
 
{% 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">
  <ol>
    <li><a href="/">Spectrum</a></li>
    {%- 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 %}
    <li><a href="{{ parent.url }}">{{ parent.title }}</a></li>
      {%- endif -%}
    {%- endfor %}
    <li aria-current="page">{{ page.title }}</li>
  </ol>
</nav>
{%- endunless -%}

debug log:

solving f759807 ...
found f759807 in https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-7-valentin@gagarin.work/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-4-valentin@gagarin.work/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260611063724.487914-3-valentin@gagarin.work/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-7-valentin@gagarin.work/
diff --git a/Documentation/_includes/breadcrumb.html b/Documentation/_includes/breadcrumb.html
new file mode 100644
index 0000000..f759807

Checking patch Documentation/_includes/breadcrumb.html...
Applied patch Documentation/_includes/breadcrumb.html cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20260608164938.290202-4-valentin@gagarin.work/ for f759807
skipping https://inbox.spectrum-os.org/spectrum-devel/20260611063724.487914-3-valentin@gagarin.work/ for f759807
index at:
100644 f759807aa8c0208b1d2949bb9ae9c432e472f0b4	Documentation/_includes/breadcrumb.html

(*) 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/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

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).