From fee58a10287b1dbc9f354666e9e8c99a764f5c67 Mon Sep 17 00:00:00 2001 From: NotXia <35894453+NotXia@users.noreply.github.com> Date: Tue, 11 Mar 2025 22:03:29 +0100 Subject: [PATCH] Add description metadata --- app.vue | 6 +++++- locales/en-US/general.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app.vue b/app.vue index 4d9fbbd..a28bd70 100644 --- a/app.vue +++ b/app.vue @@ -37,7 +37,11 @@ useHead({ htmlAttrs: { lang: locale.value }, - bodyAttrs: { class: "dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"} + bodyAttrs: { class: "dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}, + meta: [ + { name: "description", content: "Personal website of a random AI student", lang: "en" }, + { name: "description", content: "Sito web personale di uno studente di IA a caso", lang: "it" }, + ], }); watch(locale, (new_locale) => { useHead({ htmlAttrs: { lang: new_locale } }); diff --git a/locales/en-US/general.ts b/locales/en-US/general.ts index c0a80ad..d57b343 100644 --- a/locales/en-US/general.ts +++ b/locales/en-US/general.ts @@ -46,7 +46,7 @@ export default { // Cookies "cookie policy title": "Cookie policy", - "cookie policy": "This website uses cookies but not for analysis purposes and they are not sent to third parties. " + + "cookie policy": "This website uses cookies but not for analysis purposes, and they are not sent to third parties. " + "The only cookies here are those that I ate this morning, although I prefer a savory breakfast. " + "I don't know why you are reading this, but thanks for keeping me company, I wish you a great day. " + "If you would like some cookies too, do not hesitate to click on the following link:",