refactor(app): simplify head link and meta rendering, add more titles and descriptions

This commit is contained in:
2026-07-31 19:22:48 +02:00
parent 0f49f20c07
commit 5fe4557d94
8 changed files with 44 additions and 23 deletions
+2 -12
View File
@@ -22,19 +22,9 @@ const { s3Bucket, s3Host } = useRuntimeConfig().public;
>
<Head>
<Title>{{ title }}</Title>
<template v-for="link in head.link" :key="link.id">
<Link
:id="link.id"
:rel="link.rel"
:href="link.href"
:hreflang="link.hreflang"
/>
</template>
<Link rel="dns-prefetch" :href="`https://${s3Bucket}.${s3Host}/`" />
<Link v-for="link in head.link" :key="link.id" v-bind="link" />
<Link rel="preconnect" :href="`https://${s3Bucket}.${s3Host}/`" />
<template v-for="meta in head.meta" :key="meta.id">
<Meta :id="meta.id" :property="meta.property" :content="meta.content" />
</template>
<Meta v-for="meta in head.meta" :key="meta.id" v-bind="meta" />
</Head>
<Body>
<NuxtLoadingIndicator />