Skip to content

Commit 2115987

Browse files
committed
update social card + switch out trust section and improve
1 parent 9af7383 commit 2115987

37 files changed

Lines changed: 311 additions & 95 deletions

‎astro.config.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ export default defineConfig({
1111
site: process.env.DOCS_ORIGIN || 'http://localhost:4321',
1212
output: 'static',
1313
trailingSlash: 'always',
14-
integrations: [sitemap({ filter: page => !new URL(page).pathname.startsWith('/og/') }), starlight({
14+
integrations: [sitemap({
15+
filter: page => !new URL(page).pathname.startsWith('/_og/'),
16+
serialize: item => ({ ...item, priority: /^\/changelog\/[^/]+\/?$/.test(new URL(item.url).pathname) ? 0.2 : 0.8 }),
17+
}), starlight({
1518
title: 'HTML/CSS to Image',
1619
description: 'Generate images from HTML and CSS. Developer documentation for HTML/CSS to Image.',
1720
favicon: '/favicon.ico',

‎package-lock.json‎

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@astrojs/starlight": "^0.42.2",
2222
"@astrojs/starlight-tailwind": "^5.0.0",
2323
"@html-css-to-image/client": "^0.9.0",
24+
"@pagefind/component-ui": "^1.5.2",
2425
"@tailwindcss/vite": "^4.3.3",
2526
"astro": "^7.3.3",
2627
"cheerio": "^1.2.0",
-33.4 KB
Binary file not shown.
-44.8 KB
Binary file not shown.
-9.11 KB
Binary file not shown.
-12.3 KB
Binary file not shown.
-21.5 KB
Binary file not shown.
-28.7 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)