Skip to content

Commit b663662

Browse files
committed
udpate meta tags for docs site
1 parent b4c2af0 commit b663662

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/astro.config.mjs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,22 @@ export default defineConfig({
1313
integrations: [
1414
starlight({
1515
title: 'GitHub Stacked PRs',
16-
description: 'Manage stacked branches and pull requests with the gh stack CLI extension.',
16+
description: 'Break large changes into small, reviewable pull requests that build on each other — with native GitHub support and the gh stack CLI.',
1717
favicon: '/favicon.svg',
1818
logo: {
1919
src: './src/assets/github-invertocat.svg',
2020
alt: 'GitHub',
2121
},
2222
head: [
23-
{ tag: 'meta', attrs: { name: 'robots', content: 'noindex, nofollow' } },
23+
{ tag: 'meta', attrs: { property: 'og:type', content: 'website' } },
24+
{ tag: 'meta', attrs: { property: 'og:site_name', content: 'GitHub Stacked PRs' } },
25+
{ tag: 'meta', attrs: { property: 'og:image', content: 'https://github.github.com/gh-stack/github-social-card.jpg' } },
26+
{ tag: 'meta', attrs: { property: 'og:image:alt', content: 'GitHub Stacked PRs — Break large changes into small, reviewable pull requests' } },
27+
{ tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } },
28+
{ tag: 'meta', attrs: { property: 'og:image:height', content: '630' } },
29+
{ tag: 'meta', attrs: { name: 'twitter:card', content: 'summary_large_image' } },
30+
{ tag: 'meta', attrs: { name: 'twitter:site', content: '@github' } },
31+
{ tag: 'meta', attrs: { name: 'twitter:image', content: 'https://github.github.com/gh-stack/github-social-card.jpg' } },
2432
],
2533
components: {
2634
SocialIcons: './src/components/CustomHeader.astro',

docs/public/github-social-card.jpg

18.9 KB
Loading

0 commit comments

Comments
 (0)