Add description metadata

This commit is contained in:
2025-03-11 22:03:29 +01:00
parent 42c7e67959
commit fee58a1028
2 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,11 @@
useHead({ useHead({
htmlAttrs: { lang: locale.value }, 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) => { watch(locale, (new_locale) => {
useHead({ htmlAttrs: { lang: new_locale } }); useHead({ htmlAttrs: { lang: new_locale } });

View File

@ -46,7 +46,7 @@ export default {
// Cookies // Cookies
"cookie policy title": "Cookie policy", "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. " + "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. " + "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:", "If you would like some cookies too, do not hesitate to click on the following link:",