File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed
apps/svelte.dev/src/routes/packages Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change 50
50
51
51
<p class ="description" >{pkg .description }</p >
52
52
53
- <p class =" stats" >
54
- {#if pkg .downloads }
55
- <span title =" {pkg .downloads } downloads" >
56
- <span data-icon =" download" ></span >
57
- {format_number (+ pkg .downloads )}
58
- </span >
59
- {/if }
60
-
61
- {#if pkg .github_stars }
62
- <span title =" {pkg .github_stars } Github Stars" >
63
- <span data-icon =" star" ></span >
64
- {format_number (pkg .github_stars )}
65
- </span >
66
- {/if }
67
-
68
- <span style =" flex: 1 1 auto" ></span >
69
- </p >
53
+ {#if ! pkg .svAlias }
54
+ <p class =" stats" >
55
+ {#if pkg .downloads }
56
+ <span title =" {pkg .downloads } downloads" >
57
+ <span data-icon =" download" ></span >
58
+ {format_number (+ pkg .downloads )}
59
+ </span >
60
+ {/if }
61
+
62
+ {#if pkg .github_stars }
63
+ <span title =" {pkg .github_stars } Github Stars" >
64
+ <span data-icon =" star" ></span >
65
+ {format_number (pkg .github_stars )}
66
+ </span >
67
+ {/if }
68
+
69
+ <span style =" flex: 1 1 auto" ></span >
70
+ </p >
71
+ {/if }
70
72
</a >
71
73
72
74
<!-- this is a sibling element so that we don't have links inside links -->
You can’t perform that action at this time.
0 commit comments