mirror of https://github.com/docker/docs.git
style: dds Breadcrumbs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
0905e312e3
commit
6e3d110e5b
|
@ -2,12 +2,8 @@
|
||||||
{{ $ctx := . }}
|
{{ $ctx := . }}
|
||||||
|
|
||||||
|
|
||||||
<nav class="py-2 gap-2 flex items-center overflow-hidden">
|
<nav class="py-4 gap-4 flex items-center overflow-hidden text-gray-light dark:text-gray-dark">
|
||||||
<a class="link" href="{{ site.BaseURL }}"
|
|
||||||
><span class="material-symbols-rounded">home</span></a
|
|
||||||
>
|
|
||||||
{{ with ($scratch.GetSortedMapValues "sections") }}
|
{{ with ($scratch.GetSortedMapValues "sections") }}
|
||||||
<span>/</span>
|
|
||||||
{{ range $i, $e := . }}
|
{{ range $i, $e := . }}
|
||||||
{{- if $i -}}
|
{{- if $i -}}
|
||||||
<span>/</span>
|
<span>/</span>
|
||||||
|
@ -17,6 +13,6 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $scratch.Get "lastsection" -}}
|
{{- with $scratch.Get "lastsection" -}}
|
||||||
<span>/</span>
|
<span>/</span>
|
||||||
<a href="{{ .path }}" class="link whitespace-nowrap">{{ markdownify .title }}</a>
|
<span>{{ markdownify .title }}</span>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in New Issue