From 2b7e1ee01b04ddc4cc66dcca1f60387cf88dad65 Mon Sep 17 00:00:00 2001 From: Seven Of Aces Date: Fri, 3 Jan 2025 18:30:06 -0800 Subject: [PATCH] Testing OpenGraph, etc meta --- assets/config.ts | 16 ++++++++++++ components/MetaSet.vue | 55 ++++++++++++++++++++++++++++++++++++++++++ pages/index.vue | 5 +++- 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 assets/config.ts create mode 100644 components/MetaSet.vue diff --git a/assets/config.ts b/assets/config.ts new file mode 100644 index 0000000..f0c6931 --- /dev/null +++ b/assets/config.ts @@ -0,0 +1,16 @@ +export default { + // Site information + siteTitle: 'My Site', + siteDescription: 'My site description', + siteUrl: 'https://thefelidae.github.io', + siteImage: '', + + // Site personalization + sitePrimaryColor: '#550077', + + // Author information + siteAuthor: 'TheFelidae', + siteAuthorContact: 'https://www.github.com/TheFelidae', + siteAuthorPronouns: 'she/her/they/them', + siteAuthorLocation: 'Gallifrey' +}; \ No newline at end of file diff --git a/components/MetaSet.vue b/components/MetaSet.vue new file mode 100644 index 0000000..44656c9 --- /dev/null +++ b/components/MetaSet.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/pages/index.vue b/pages/index.vue index bdbe5fa..4aa26c1 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -5,6 +5,8 @@ import PostCard from '../components/PostCard.vue'; import configured_markdown from '~/assets/markdown_conf'; import Markdown from '~/components/Markdown.vue'; import Card from '~/components/Card.vue'; +import * as siteConfig from "../assets/config.ts"; +import MetaSet from '~/components/MetaSet.vue'; const aboutMe = ref(""); @@ -18,6 +20,8 @@ fetch("/about_me.md")