diff --git a/docs/reference/default-theme-home-page.md b/docs/reference/default-theme-home-page.md index 93de38e1..449602de 100644 --- a/docs/reference/default-theme-home-page.md +++ b/docs/reference/default-theme-home-page.md @@ -139,6 +139,11 @@ interface Feature { // // e.g. `Learn more`, `Visit page`, etc. linkText?: string + + // Link rel attribute for the `link` option. + // + // e.g. `external` + rel?: string } type FeatureIcon = diff --git a/src/client/theme-default/components/VPFeature.vue b/src/client/theme-default/components/VPFeature.vue index b3e4e9d9..2881e143 100644 --- a/src/client/theme-default/components/VPFeature.vue +++ b/src/client/theme-default/components/VPFeature.vue @@ -10,11 +10,12 @@ defineProps<{ details?: string link?: string linkText?: string + rel?: string }>()