Skip to content

Commit a375cff

Browse files
committed
Add Open Graph / Twitter card meta tags and sitemap; exclude NOTICE from page render
1 parent de18d91 commit a375cff

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.vitepress/config.mts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default defineConfig({
66
description: 'Zarr is a community project to develop specifications and software for storage of large N-dimensional typed arrays, also commonly known as tensors.',
77
cleanUrls: true,
88
lastUpdated: true,
9+
sitemap: { hostname: 'https://zarr.dev' },
910
head: [
1011
['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
1112
['link', { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' }],
@@ -16,6 +17,16 @@ export default defineConfig({
1617
['meta', { name: 'apple-mobile-web-app-title', content: 'Zarr' }],
1718
['meta', { name: 'application-name', content: 'Zarr' }],
1819
['meta', { name: 'theme-color', content: '#ffffff' }],
20+
['meta', { property: 'og:type', content: 'website' }],
21+
['meta', { property: 'og:site_name', content: 'Zarr' }],
22+
['meta', { property: 'og:title', content: 'Zarr' }],
23+
['meta', { property: 'og:description', content: 'An open, community-driven format for storing large arrays in any key-value store, including cloud object storage.' }],
24+
['meta', { property: 'og:image', content: 'https://zarr.dev/android-chrome-512x512.png' }],
25+
['meta', { property: 'og:url', content: 'https://zarr.dev/' }],
26+
['meta', { name: 'twitter:card', content: 'summary' }],
27+
['meta', { name: 'twitter:title', content: 'Zarr' }],
28+
['meta', { name: 'twitter:description', content: 'An open, community-driven format for storing large arrays in any key-value store, including cloud object storage.' }],
29+
['meta', { name: 'twitter:image', content: 'https://zarr.dev/android-chrome-512x512.png' }],
1930
['script', { async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-BCRR9QE7Z0' }],
2031
['script', {}, `window.dataLayer = window.dataLayer || [];
2132
function gtag(){dataLayer.push(arguments);}
@@ -25,6 +36,7 @@ gtag('config', 'G-BCRR9QE7Z0');`],
2536
srcExclude: [
2637
'docs/**',
2738
'README.md',
39+
'NOTICE.md',
2840
],
2941
vite: {
3042
plugins: [redirectsPlugin(defaultPluginOptions(process.cwd()))],

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ NumFOCUS Sponsored Projects rely on the generous support of corporate sponsors,
7575

7676
## Acknowledgements
7777

78-
Hero animation adapted from [`dynamical-zarr-ecmwf`](https://github.com/developmentseed/deck.gl-raster/tree/main/examples/dynamical-zarr-ecmwf) in [developmentseed/deck.gl-raster](https://github.com/developmentseed/deck.gl-raster), © 2025 Development Seed (MIT License). Full notice: [NOTICE.md](https://github.com/zarr-developers/zarr-developers.github.io/blob/main/NOTICE.md).
78+
Hero animation adapted from [`dynamical-zarr-ecmwf`](https://github.com/developmentseed/deck.gl-raster/tree/main/examples/dynamical-zarr-ecmwf) in [developmentseed/deck.gl-raster](https://github.com/developmentseed/deck.gl-raster)

0 commit comments

Comments
 (0)