Commit fe1d604f authored by Sébastien Chopin's avatar Sébastien Chopin

chore: use useServerHead

parent 1292128e
<script setup lang="ts"> <script setup lang="ts">
useServerHead({
htmlAttrs: { lang: 'en' },
})
useSeoMeta({ useSeoMeta({
titleTemplate: 'Nuxt HN | %s', titleTemplate: 'Nuxt HN | %s',
description: 'HackerNews clone built with Nuxt.', description: 'HackerNews clone built with Nuxt.',
...@@ -12,7 +15,6 @@ useSeoMeta({ ...@@ -12,7 +15,6 @@ useSeoMeta({
</script> </script>
<template> <template>
<Html lang="en" />
<AppHeader /> <AppHeader />
<NuxtPage /> <NuxtPage />
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment