From 0006cb67ec7059b47cfaeab7c2ab4173bbb180b2 Mon Sep 17 00:00:00 2001 From: Luca Ban Date: Tue, 19 Jul 2022 16:20:40 +0900 Subject: [PATCH] docs: show how to add image to the homepage (#1007) --- docs/guide/theme-home-page.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/guide/theme-home-page.md b/docs/guide/theme-home-page.md index 80a88008..e791c07a 100644 --- a/docs/guide/theme-home-page.md +++ b/docs/guide/theme-home-page.md @@ -19,9 +19,12 @@ The Hero section comes at the top of the homepage. Here's how you can configure layout: home hero: - name: VuePress + name: VitePress text: Vite & Vue powered static site generator. tagline: Lorem ipsum... + image: + src: /logo.png + alt: VitePress actions: - theme: brand text: Get Started