18 lines
349 B
Plaintext
18 lines
349 B
Plaintext
---
|
|
import Layout from './Layout.astro';
|
|
|
|
import directus from '../../lib/directus';
|
|
import { readSingleton } from '@directus/sdk';
|
|
|
|
const global = await directus.request(readSingleton('global'));
|
|
|
|
export interface Props {
|
|
title: string;
|
|
description?: string;
|
|
}
|
|
---
|
|
|
|
<Layout title={global.title} description={global.title}>
|
|
<slot />
|
|
</Layout>
|