File tree 2 files changed +24
-6
lines changed 2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,16 @@ table.spec__table thead {
16
16
width : 20rem ;
17
17
}
18
18
19
+ .spec__label {
20
+ border-radius : 10px ;
21
+ background : var (--pst-color-info-bg );
22
+ color : var (--pst-color-info );
23
+ padding-left : 0.5rem ;
24
+ padding-right : 0.5rem ;
25
+ padding-top : 0.25rem ;
26
+ padding-bottom : 0.25rem ;
27
+ }
28
+
19
29
.spec__status a {
20
30
font-weight : normal;
21
31
text-decoration : none;
Original file line number Diff line number Diff line change 3
3
< tr >
4
4
< td > Recommendations</ td >
5
5
< td title ="The following projects support these recommendations ">
6
- Endorsed By
6
+ Endorsed By
7
+ </ td >
8
+ < td >
9
+ Tags
7
10
</ td >
8
11
</ tr >
9
12
</ thead >
22
25
{{- range $idx, $el := $endorsed_by }}
23
26
{{ $project_page := $.GetPage (printf "core-projects/%s" $el) }}
24
27
{{ $url := $project_page.RelPermalink }}
25
- < a href ="{{ $url }} ">
26
- < img title ="{{ $project_page.Title }} " src ="{{ $project_page.Params.avatar }} " class ="icon "/>
27
- </ a >
28
- {{ end }}
28
+ < a href ="{{ $url }} ">
29
+ < img title ="{{ $project_page.Title }} " src ="{{ $project_page.Params.avatar }} " class ="icon "/>
30
+ </ a >
31
+ {{ end }}
29
32
{{ else }}
30
- DRAFT
33
+ DRAFT
31
34
{{ end -}}
32
35
</ td >
36
+ < td class ="spec__tags ">
37
+ {{ range .Params.tags }}
38
+ < span class ="spec__label "> {{ . }}</ span >
39
+ {{ end }}
40
+ </ td >
33
41
</ tr >
34
42
{{ end }}
35
43
{{- end }}
You can’t perform that action at this time.
0 commit comments