diff --git a/docs/guide/extending-default-theme.md b/docs/guide/extending-default-theme.md index b7b29bde8323..d303cf0f49ec 100644 --- a/docs/guide/extending-default-theme.md +++ b/docs/guide/extending-default-theme.md @@ -195,7 +195,9 @@ Full list of slots available in the default theme layout: - `aside-ads-after` - When `layout: 'home'` is enabled via frontmatter: - `home-hero-before` + - `home-hero-info-before` - `home-hero-info` + - `home-hero-actions-after` - `home-hero-image` - `home-hero-after` - `home-features-before` diff --git a/docs/zh/guide/extending-default-theme.md b/docs/zh/guide/extending-default-theme.md index a58e35f40eb7..e6b7fab6395b 100644 --- a/docs/zh/guide/extending-default-theme.md +++ b/docs/zh/guide/extending-default-theme.md @@ -194,7 +194,9 @@ export default { - `aside-ads-after` - 当 `layout: 'home'` 在 frontmatter 中被启用时: - `home-hero-before` + - `home-hero-info-before` - `home-hero-info` + - `home-hero-actions-after` - `home-hero-image` - `home-hero-after` - `home-features-before` diff --git a/src/client/theme-default/components/VPHero.vue b/src/client/theme-default/components/VPHero.vue index 659c3dbfd36e..dbadaa145c67 100644 --- a/src/client/theme-default/components/VPHero.vue +++ b/src/client/theme-default/components/VPHero.vue @@ -25,6 +25,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref
+

@@ -32,6 +33,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref

+
@@ -44,6 +46,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref />
+