From c9b4393723612b6046f9ccbee2707458e966ec89 Mon Sep 17 00:00:00 2001 From: BobChao87 Date: Fri, 21 Jan 2022 01:20:06 -0800 Subject: [PATCH] Basic OpenGraph implementation This will likely fail, but we'll get valuable information Related to Issue #25 --- nuxt.config.js | 5 ++++- static/oengus.svg | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 static/oengus.svg diff --git a/nuxt.config.js b/nuxt.config.js index 5e339c98..04744207 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -19,7 +19,10 @@ export default { meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: '' }, + { hid: 'description', name: 'description', property: 'og:description', content: 'Oengus is a free tool to manage your speedrunning marathons from submissions to schedule, available as a hosted service.' }, + { hid: 'type', property: 'og:type', content: 'website' }, + { hid: 'image', property: 'og:image', content: `https://${process.env.DOMAIN ?? 'oengus.dev'}/oengus.svg` }, + { hid: 'image-type', property: 'og:imge:type', content: 'image/svg+xml' }, ], link: [ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, diff --git a/static/oengus.svg b/static/oengus.svg new file mode 100644 index 00000000..cb2ffc8f --- /dev/null +++ b/static/oengus.svg @@ -0,0 +1 @@ +