23 lines
488 B
Plaintext
23 lines
488 B
Plaintext
// Global document layout. The framework renders this once around the selected
|
|
// page layout and merges SEO metadata, styles, and scripts into <head>/<body>.
|
|
// Resolved theme, language, URL, and pathname are available as safe SSR props.
|
|
layout Document {
|
|
runtime = "server"
|
|
|
|
props {
|
|
theme = "light"
|
|
language = "en"
|
|
url = ""
|
|
pathname = "/"
|
|
}
|
|
|
|
view {
|
|
<html>
|
|
<head></head>
|
|
<body>
|
|
<div id="app"><slot /></div>
|
|
</body>
|
|
</html>
|
|
}
|
|
}
|