File tree 2 files changed +32
-13
lines changed
2 files changed +32
-13
lines changed Original file line number Diff line number Diff line change 1
1
.signage {
2
2
display : flex;
3
3
flex-direction : row;
4
+ white-space : nowrap;
4
5
5
6
background-color : # 111111 ;
6
- padding : 2 rem 2rem 2 rem 1rem ;
7
+ padding : 1 rem 2rem 1 rem 1rem ;
7
8
8
9
9
10
* {
10
11
font-family : var (--font-mono );
11
12
font-size : 32px ;
12
13
}
13
14
14
- nav {
15
+ .breadcrump {
16
+ display : inline-flex;
17
+
15
18
& ::before {
16
19
content : "" ;
17
20
border-left : # fff solid .4rem ;
18
21
padding : .5rem ;
19
22
}
23
+ & : first-child ::before {
24
+ content : "~" ;
25
+ }
26
+ & : not (: last-child ): after {
27
+ content : "/" ;
28
+ }
29
+
30
+ a {
31
+ text-decoration-line : none;
32
+ color : magenta;
33
+ }
20
34
}
21
- a {
22
- text-decoration-line : none;
23
- color : magenta;
24
- }
35
+
36
+
25
37
h1 {
26
38
color : # fff ;
27
39
& ::after {
31
43
}
32
44
33
45
}
46
+
47
+
34
48
.home {
35
49
display : grid;
36
50
justify-content : center;
71
85
72
86
.single {
73
87
grid-template-rows : min-content auto;
74
- }
75
- .single .breadcrumb {
76
- place-self : center;
77
- margin : 1rem 0 ;
88
+
89
+ .breadcrumb {
90
+ place-self : center;
91
+ margin : 1rem 0 ;
92
+ }
78
93
}
Original file line number Diff line number Diff line change 1
1
< nav class ="signage ">
2
- < nav id ="breadcrump ">
3
- < a href ="/ "> ~</ a > <!--
4
- --> < a href =".. "> {{ substr .RelPermalink 0 -1 }}</ a >
2
+ < nav class ="breadcrump ">
3
+ <!-- Ancestors -->
4
+ {{ range after 0 .Ancestors.Reverse }}
5
+ < a href ="{{ .RelPermalink }} "> {{ .File.ContentBaseName }}</ a >
6
+ {{ end }}
7
+ <!-- Current -->
8
+ < a href ="{{ .RelPermalink }} "> {{.File.ContentBaseName }}</ a >
5
9
</ nav >
6
10
7
11
< h1 > $ proxyerium</ h1 >
You can’t perform that action at this time.
0 commit comments