Skip to content

Commit

Permalink
add static open graph
Browse files Browse the repository at this point in the history
  • Loading branch information
elfpie committed Apr 16, 2024
1 parent 2f6cfd7 commit 90d1f0b
Showing 1 changed file with 58 additions and 9 deletions.
67 changes: 58 additions & 9 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,67 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxthub/core',
'@nuxt/fonts',
'@nuxt/ui',
'@vueuse/nuxt',
],
modules: ["@nuxthub/core", "@nuxt/fonts", "@nuxt/ui", "@vueuse/nuxt"],

app: {
head: {
meta: [
{
hid: "description",
name: "description",
content: "Gifs gifs gifs! Gifs? Gifs?",
},
{
hid: "og:title",
property: "og:title",
content: "Elfpie Gifs",
},
{
hid: "og:url",
property: "og:url",
content: "https://elfpie.github.io/",
},
{
hid: "og:description",
property: "og:description",
content: "Gifs gifs gifs! Gifs? Gifs?",
},
{
hid: "og:image",
property: "og:image",
content: "https://elfpie.github.io/social-card.jpeg",
},

// twitter card
{
hid: "twitter:title",
name: "twitter:title",
content: "Elfpie Gifs",
},
{
hid: "twitter:url",
name: "twitter:url",
content: "https://elfpie.github.io/",
},
{
hid: "twitter:description",
name: "twitter:description",
content: "Gifs gifs gifs! Gifs? Gifs?",
},
{
hid: "twitter:image",
name: "twitter:image",
content: "https://elfpie.github.io/social-card.jpeg",
},
],
},
},

hub: {
blob: true,
},

ui: {
icons: ['simple-icons'],
icons: ["simple-icons"],
},

experimental: {
Expand All @@ -21,5 +70,5 @@ export default defineNuxtConfig({

devtools: { enabled: true },

ssr: false
})
ssr: false,
});

0 comments on commit 90d1f0b

Please sign in to comment.