mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-04 11:34:23 +01:00
feat: Add og tags
This commit is contained in:
@@ -27,6 +27,17 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
head: [
|
head: [
|
||||||
['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
|
['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
|
||||||
|
['meta', { property: 'og:title', content: 'Mermaid' }],
|
||||||
|
[
|
||||||
|
'meta',
|
||||||
|
{
|
||||||
|
property: 'og:description',
|
||||||
|
content: 'Create diagrams and visualizations using text and code.',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
['meta', { property: 'og:type', content: 'website' }],
|
||||||
|
['meta', { property: 'og:url', content: 'https://mermaid.js.org' }],
|
||||||
|
['meta', { property: 'og:image', content: 'https://mermaid.js.org/favicon.svg' }],
|
||||||
[
|
[
|
||||||
'script',
|
'script',
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user