Skip to content

Commit

Permalink
fixup! feat: add unfurl image + metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Mar 21, 2024
1 parent c453cda commit e336b2a
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions main/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,32 @@ import { defineConfig } from 'vitepress';
import { nav } from './themeConfig/nav.js';
import { rewrites } from './themeConfig/rewrites.js';

const SITE_TITLE = 'Agoric Documentation';
const SITE_DESCRIPTION =
'The blockchain framework tailored for JavaScript developers.';

export default defineConfig({
/* --- FOR DEPLOYMENT TO GITHUB PAGES--- */
base: '/', // The base URL the site will be deployed at.
outDir: '../dist',
/* --- HOME PAGE --- */
title: 'Agoric Documentation', // title for the site. prefix for all page titles and displayed in the navbar
description: 'The blockchain framework tailored for JavaScript developers.', // desc for the site; rendered as a <meta> tag in the page HTML
title: SITE_TITLE, // title for the site. prefix for all page titles and displayed in the navbar
description: SITE_DESCRIPTION, // desc for the site; rendered as a <meta> tag in the page HTML
// Extra tags to inject into the page HTML <head>. You can specify each tag in the form of [tagName, { attrName: attrValue }, innerHTML?].
head: [
[
'meta',
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ property: 'viewport', content: 'width=device-width, initial-scale=1' },
],
['meta', { property: 'og:image', content: '/agoric-og.png' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:title', content: SITE_TITLE }],
['meta', { property: 'og:site_name', content: SITE_TITLE }],
['meta', { property: 'og:url', content: 'https://docs.agoric.com' }],
[
'meta',
{ property: 'twitter:summary_large_image', content: '/agoric-og.png' },
],
['meta', { name: 'og:image', content: '/agoric-og.png' }],
['meta', { name: 'og:type', content: 'website' }],
['meta', { name: 'og:title', content: 'Agoric Documentation' }],
['meta', { name: 'og:site_name', content: 'Agoric Documentation' }],
['meta', { name: 'og:url', content: 'https://docs.agoric.com' }],
['meta', { name: 'twitter:card', content: '/agoric-og.png' }],
['link', { rel: 'icon', href: '/favicon-full.ico' }],
[
'style',
Expand Down

0 comments on commit e336b2a

Please sign in to comment.