jkdjskjd
This commit is contained in:
@@ -124,9 +124,16 @@ body {
|
|||||||
padding: 2rem 1.5rem 4rem;
|
padding: 2rem 1.5rem 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2, h3, h4, h5, h6 {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Typography ───────────────────────────────────────────── */
|
/* ── Typography ───────────────────────────────────────────── */
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
margin-top: 60px;
|
|
||||||
margin-bottom: 0.6em;
|
margin-bottom: 0.6em;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
color: var(--text-heading);
|
color: var(--text-heading);
|
||||||
@@ -208,7 +215,7 @@ em {
|
|||||||
|
|
||||||
/* ── Lists ────────────────────────────────────────────────── */
|
/* ── Lists ────────────────────────────────────────────────── */
|
||||||
ul, ol {
|
ul, ol {
|
||||||
margin: 0 0 1.25em;
|
margin: 0;
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,13 @@ const { data: page } = await useAsyncData('page-' + route.path, () => {
|
|||||||
|
|
||||||
if (!page.value) {
|
if (!page.value) {
|
||||||
useHead({ title: 'Page not found', meta: [{ name: 'robots', content: 'noindex' }] })
|
useHead({ title: 'Page not found', meta: [{ name: 'robots', content: 'noindex' }] })
|
||||||
|
} else {
|
||||||
|
useHead({
|
||||||
|
title: page.value.title,
|
||||||
|
meta: [
|
||||||
|
{ name: 'robots', content: 'index, follow' }
|
||||||
|
]
|
||||||
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user