blob: e9549f314926939c3a2560137cea1d1d4ced9a79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
---
import { getEntryBySlug } from 'astro:content';
const post = await getEntryBySlug('blog', 'with-partials');
const { Content } = await post.render();
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content</title>
</head>
<body>
<Content />
</body>
</html>
|