Skip to content

Commit

Permalink
Updated meta info & added twitter meta
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmybisenius committed Jan 16, 2021
1 parent 00d9740 commit 5f90c06
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion client/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,46 @@ export default {
name: 'description',
content: process.env.META_DESCRIPTION ?? 'One link for all your content, open-sourced via GPL v3 and built with NuxtJS, MongoDB, and NodeJS.'
},
{
hid: 'twitter:description',
name: 'twitter:description',
content: process.env.META_DESCRIPTION ?? 'One link for all your content, open-sourced via GPL v3 and built with NuxtJS, MongoDB, and NodeJS.'
},
{
hid: 'og:image',
name: 'og:image',
content: process.env.META_IMAGE ?? 'https://singlelink.co/social-hero.png'
content: process.env.META_IMAGE ?? 'https://singlelink.co/open-graph-image-v2.png'
},
{
hid: 'twitter:image',
name: 'twitter:image',
content: process.env.META_IMAGE ?? 'https://singlelink.co/open-graph-image-v2.png'
},
{
hid: 'og:title',
name: 'og:title',
content: process.env.META_TITLE ?? 'Singlelink - A free & open-source Linktree alternative'
},
{
hid: 'twitter:title',
name: 'twitter:title',
content: process.env.META_TITLE ?? 'Singlelink - A free & open-source Linktree alternative'
},
{
hid: 'og:description',
name: 'og:description',
content: process.env.META_DESCRIPTION ?? 'One link for all your content, open-sourced via GPL v3 and built with NuxtJS, MongoDB, and NodeJS.'
},
{
hid: 'twitter:url',
name: 'twitter:url',
content: ('https://' + process.env.HOSTNAME) ?? 'https://app.singlelink.co'
},
{
hid: 'twitter:card',
name: 'twitter:card',
content: 'summary_large_image'
}
],
link: [
{
Expand Down
Binary file added client/static/open-graph-image-v2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5f90c06

Please sign in to comment.