mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-19 15:45:12 +00:00
Fix website social metadata (#1054)
Add default Starlight description metadata and wire the existing social image into Open Graph and Twitter tags so shared links render a proper preview. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,28 @@ import Modal from '../components/Modal.astro';
|
||||
const base = import.meta.env.BASE_URL;
|
||||
---
|
||||
|
||||
<StarlightPage frontmatter={{ title: 'Awesome GitHub Copilot', template: 'splash', pagefind: false, prev: false, next: false, editUrl: false }} hasSidebar={false}>
|
||||
<StarlightPage
|
||||
frontmatter={{
|
||||
title: 'Awesome GitHub Copilot',
|
||||
description:
|
||||
'Community-contributed agents, instructions, and skills to enhance your GitHub Copilot experience',
|
||||
template: 'splash',
|
||||
pagefind: false,
|
||||
prev: false,
|
||||
next: false,
|
||||
editUrl: false,
|
||||
head: [
|
||||
{
|
||||
tag: 'meta',
|
||||
attrs: {
|
||||
property: 'og:type',
|
||||
content: 'website',
|
||||
},
|
||||
},
|
||||
],
|
||||
}}
|
||||
hasSidebar={false}
|
||||
>
|
||||
<div id="main-content">
|
||||
<!-- Hero Section -->
|
||||
<section class="hero" aria-labelledby="hero-heading">
|
||||
|
||||
Reference in New Issue
Block a user