feat(website): add og:title and og:description via pageMeta helper

Extract a DRY pageMeta(title, description) helper that returns both
standard and OpenGraph meta tags from a single source of truth.
This commit is contained in:
Mohamed Boudra
2026-03-15 14:28:10 +07:00
parent 21c585abec
commit cda08ec033
15 changed files with 78 additions and 105 deletions
+5 -8
View File
@@ -1,18 +1,15 @@
import { Link, createFileRoute } from '@tanstack/react-router'
import ReactMarkdown from 'react-markdown'
import changelogMarkdown from '../../../../CHANGELOG.md?raw'
import { pageMeta } from '~/meta'
import '~/styles.css'
export const Route = createFileRoute('/changelog')({
head: () => ({
meta: [
{ title: 'Changelog - Paseo' },
{
name: 'description',
content:
'Product updates, fixes, and improvements shipped in each Paseo release.',
},
],
meta: pageMeta(
'Changelog - Paseo',
'Product updates, fixes, and improvements shipped in each Paseo release.',
),
}),
component: Changelog,
})