Amélioration et simplification du fil d'Ariane.
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
+10
-6
@@ -74,14 +74,18 @@ a:active {
|
||||
|
||||
// Prompt and command line.
|
||||
// ========================
|
||||
.cmdline {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.cmdblock {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
.prompt {
|
||||
padding: 0;
|
||||
p, ol, ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
p.prompt:before {
|
||||
content: "$ ";
|
||||
}
|
||||
}
|
||||
|
||||
// Breadcrumb.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="cmdblock">
|
||||
<nav aria-label="breadcrumb" class="breadcrumb">
|
||||
{{- partial "cmdline" (slice "pwd") }}
|
||||
<p aria-hidden="true" class="prompt">pwd</p>
|
||||
<ol>
|
||||
{{ range .Ancestors.Reverse }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
<a class="ancestor" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li class="active">
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
<span class="cmdline" aria-hidden="true">{{ partial "prompt" . }}{{ partial "command" . }}</span>
|
||||
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|
||||
@@ -1,2 +0,0 @@
|
||||
<span class="command">{{ delimit . " " }}</span>
|
||||
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|
||||
@@ -1,2 +0,0 @@
|
||||
<span class="prompt" >$</span>
|
||||
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|
||||
Reference in New Issue
Block a user