mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
feat: introduce main and writing layouts to standardize page structure
This commit is contained in:
@@ -12,10 +12,14 @@ useSeoMeta({
|
||||
title: page.value?.title,
|
||||
description: page.value?.description,
|
||||
});
|
||||
|
||||
definePageMeta({
|
||||
layout: 'writing',
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<NuxtLayout name="writing" :title="page?.title" :description="page?.description">
|
||||
<ContentRenderer v-if="page" :value="page" />
|
||||
</div>
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user