Skip to content

Commit

Permalink
docs: show how to add image to the homepage (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Jul 19, 2022
1 parent 63e2014 commit 0006cb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/guide/theme-home-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0006cb6

Please sign in to comment.