Skip to content

Commit 5c659f6

Browse files
author
Carlos
committed
Commented out cardImage URLs in useMeta function
1 parent bad446f commit 5c659f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/composables/meta.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ export function useMeta() {
44

55
const description =
66
'Anyone can forget how to make character classes for a regex, slice a list or do a for loop. This cheat sheet tries to provide a basic reference for beginner and advanced developers, lower the entry barrier for newcomers and help veterans refresh the old tricks.'
7-
const cardImage =
8-
'https://raw.githubusercontent.com/wilfredinni/javascript-cheatsheet/master/public/social/social_banner.png'
7+
// const cardImage =
8+
// 'https://raw.githubusercontent.com/wilfredinni/javascript-cheatsheet/master/public/social/social_banner.png'
99
const themeColor = computed(() => (isDark.value ? '#1f2937' : '#ffffff'))
1010
const url = computed(() => `https://${base_url}${route.path}`)
1111
const keywords = [
@@ -49,10 +49,10 @@ export function useMeta() {
4949
{ property: 'og:description', content: description },
5050
{ property: 'og:url', content: url },
5151
{ property: 'og:type', content: 'article' },
52-
{ property: 'og:image', content: cardImage },
52+
// { property: 'og:image', content: cardImage },
5353
{ name: 'twitter:title', content: 'Javascript Cheatsheet' },
5454
{ name: 'twitter:description', content: 'The Javascript Cheatsheet' },
55-
{ name: 'twitter:image', content: cardImage },
55+
// { name: 'twitter:image', content: cardImage },
5656
{ name: 'twitter:card', content: 'summary' },
5757
],
5858
link: [{ rel: 'canonical', href: url }],

0 commit comments

Comments
 (0)