Skip to content

Commit

Permalink
Fix og image path (#12)
Browse files Browse the repository at this point in the history
* 馃悰 fix: Fix OG image path

* 馃悰 fix: Fix favicon
  • Loading branch information
honzabubenik committed May 1, 2024
1 parent ec579b5 commit 29c624d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/.vitepress/config/en/head.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { HeadConfig } from 'vitepress';

export const head = (): HeadConfig[] => [
// Favicon
['link', { rel: 'icon', href: '/cdn-client/favicon.ico', sizes: '32x32' }],
['link', { rel: 'icon', href: '/cdn-client/theme/localazy-logo.svg', type: 'image/svg+xml' }],
['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/cdn-client/theme/apple-touch-icon.png' }],
['link', { rel: 'icon', href: '/favicon.ico', sizes: '32x32' }],
['link', { rel: 'icon', href: '/theme/localazy-logo.svg', type: 'image/svg+xml' }],
['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/theme/apple-touch-icon.png' }],

// Fonts
[
Expand Down Expand Up @@ -32,7 +32,7 @@ export const head = (): HeadConfig[] => [
'meta',
{
property: 'og:image',
content: 'https://localazy.github.io/cdn-client/cdn-client/theme/localazy-cdn-client-og.png',
content: 'https://localazy.github.io/cdn-client/theme/localazy-cdn-client-og.png',
},
],
['meta', { property: 'og:url', content: 'https://localazy.github.io/cdn-client/' }],
Expand All @@ -52,7 +52,7 @@ export const head = (): HeadConfig[] => [
'meta',
{
property: 'twitter:image',
content: 'https://localazy.github.io/cdn-client/cdn-client/theme/localazy-cdn-client-og.png',
content: 'https://localazy.github.io/cdn-client/theme/localazy-cdn-client-og.png',
},
],
];

0 comments on commit 29c624d

Please sign in to comment.