chores(deps): bump + fixed og:image

This commit is contained in:
Liyas Thomas
2020-11-28 17:23:10 +05:30
parent 57627367f5
commit 355b9be3ff
3 changed files with 18 additions and 22 deletions

View File

@@ -29,7 +29,6 @@ export default {
// Global page headers (https://go.nuxtjs.dev/config-head)
head: {
title: `${options.name}${options.shortDescription}`,
meta: [
{
name: "keywords",
@@ -52,10 +51,6 @@ export default {
itemprop: "image",
content: `${process.env.BASE_URL}/banner.jpg`,
},
{
property: "og:image",
content: `${process.env.BASE_URL}/banner.jpg`,
},
// Add to homescreen for Chrome on Android. Fallback for PWA (handled by nuxt)
{
name: "application-name",
@@ -132,11 +127,13 @@ export default {
// PWA module configuration (https://pwa.nuxtjs.org/setup)
pwa: {
meta: {
name: `${options.name} - ${options.shortDescription}`,
description: options.description,
ogHost: process.env.BASE_URL,
ogImage: `${process.env.BASE_URL}/banner.jpg`,
twitterCard: "summary_large_image",
twitterSite: options.social.twitter,
twitterCreator: options.social.twitter,
description: options.shortDescription,
theme_color: options.app.background,
},
manifest: {
@@ -145,7 +142,6 @@ export default {
description: options.shortDescription,
start_url: "/",
background_color: options.app.background,
theme_color: options.app.background,
},
},