Skip to content

Commit c50624a

Browse files
committed
docs: add custom OG image for home page
The OG image plugin skips pages not in sidebar, so the home page needs a manually configured OG image.
1 parent aaab80b commit c50624a

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

docs/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
---
22
category: Home
3+
title: docker-compose
34
# https://vitepress.dev/reference/default-theme-home-page
45
layout: home
6+
head:
7+
- - meta
8+
- property: og:image
9+
content: https://pdmlab.github.io/docker-compose/og-home.png
10+
- - meta
11+
- property: og:image:width
12+
content: '1200'
13+
- - meta
14+
- property: og:image:height
15+
content: '630'
516

617
hero:
718
name: "docker-compose"

docs/public/og-home.png

59.7 KB
Loading

docs/public/og-home.svg

Lines changed: 22 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)