-
{{ t("indexActivities") }}
+
{{ t("indexActivities") }}
{{ t("indexActivitiesCaption") }}
@@ -46,6 +46,20 @@ import { getLocale } from "~/utils/locale"
const { t } = useI18n()
+useHead({
+ title: t("brandName"),
+})
+
+useSeoMeta({
+ title: t("brandName"),
+ description: t("indexIntroduce"),
+ ogTitle: t("brandName"),
+ ogDescription: t("indexIntroduce"),
+ ogUrl: useRuntimeConfig().public.siteUrl,
+ ogType: "website",
+ ogSiteName: "Solsynth Capital",
+})
+
const { data: products } = await useAsyncData("products", () => {
return queryContent("/products").where({ _locale: getLocale(), archived: { $ne: true } }).limit(5).find()
})
diff --git a/server/routes/posts/feed.ts b/server/routes/posts/feed.ts
index f140e71..6d6bdbf 100644
--- a/server/routes/posts/feed.ts
+++ b/server/routes/posts/feed.ts
@@ -66,12 +66,11 @@ export default defineEventHandler(async (event) => {
})
}
- setResponseHeader(event, "Content-Type", "application/rss+xml")
-
switch (queries.type) {
case "json":
return feed.json1()
case "rss":
+ setResponseHeader(event, "Content-Type", "application/rss+xml; charset=utf-8")
return feed.rss2()
default:
return feed.atom1()