feat: add better tag map titles
This commit is contained in:
parent
0b6b798db4
commit
e9497b3cdc
@ -18,13 +18,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
|
||||||
body,
|
|
||||||
div#__nuxt {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--text-color: #243746;
|
--text-color: #243746;
|
||||||
--bg: #f1e7d0;
|
--bg: #f1e7d0;
|
||||||
|
@ -16,7 +16,7 @@ const docs = await queryContent<BlogParsedContent>("/blog")
|
|||||||
.find();
|
.find();
|
||||||
|
|
||||||
const title = details.name ?? `"${tag}"`;
|
const title = details.name ?? `"${tag}"`;
|
||||||
useTitle(title, details.description);
|
useTitle(title + " Posts", details.description);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -16,7 +16,7 @@ const docs = await queryContent<StoryParsedContent>("/stories")
|
|||||||
.find();
|
.find();
|
||||||
|
|
||||||
const title = details.name ?? `"${tag}"`;
|
const title = details.name ?? `"${tag}"`;
|
||||||
useTitle(title, details.description);
|
useTitle(title + " Stories", details.description);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user