Amélioration et simplification du fil d'Ariane, encore.
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
+3
-8
@@ -92,25 +92,20 @@ a:active {
|
||||
//display: inline;
|
||||
|
||||
ol {
|
||||
//display: inline;
|
||||
display: flex;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li:not(:last-child)::after {
|
||||
li:not(:first-child)::before {
|
||||
content: "/";
|
||||
}
|
||||
|
||||
a {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
li.file {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<ol>
|
||||
{{ range .Ancestors.Reverse }}
|
||||
<li>
|
||||
<a class="ancestor" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
<a class="ancestor" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .LinkTitle }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li class="active">
|
||||
<a aria-current="page" href="">{{ .LinkTitle }}</a>
|
||||
<li class="active {{ cond .IsNode "directory" "file" }}">
|
||||
<a aria-current="page" href="" title="{{ .Title }}">{{ .LinkTitle }}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user