Skip to content

Commit 545bb76

Browse files
committed
perf: lazy loading site favicon
1 parent 4543e2f commit 545bb76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vitepress/theme/components/Site.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<span class="namespace">
3-
<a :href="`https://${props.url}`" target="_blank">
4-
<img :width='width' :height='width' :src="icon" />
3+
<a :href="`https://${props.url}`" target="_blank" rel="noopener noreferrer">
4+
<img loading="lazy" :width='width' :height='width' :src="icon" />
55
</a>
66
</span>
77
</template>

0 commit comments

Comments
 (0)