docs: show how to add image to the homepage (#1007)

pull/1020/head
Luca Ban 2 years ago committed by GitHub
parent 63e201492c
commit 0006cb67ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,9 +19,12 @@ The Hero section comes at the top of the homepage. Here's how you can configure
layout: home layout: home
hero: hero:
name: VuePress name: VitePress
text: Vite & Vue powered static site generator. text: Vite & Vue powered static site generator.
tagline: Lorem ipsum... tagline: Lorem ipsum...
image:
src: /logo.png
alt: VitePress
actions: actions:
- theme: brand - theme: brand
text: Get Started text: Get Started

Loading…
Cancel
Save