astro/packages/integrations/markdoc/test/fixtures/entry-prop/src/pages/index.astro

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
449 B
Text
Raw Normal View History

---
import { getEntryBySlug } from 'astro:content';
const entry = await getEntryBySlug('blog', 'entry');
const { Content } = await entry.render();
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Astro</title>
</head>
<body>
<Content />
</body>
</html>