jetzig/demo/src/app/views/layouts/application.zmpl
Bob Farrell aa036fde8b Implement layouts
Latest Zmpl provides `template.renderWithLayout(other_template, data)`,
allowing a template to be renedered within another template.

Create layouts in `src/app/views/layouts/` or use
`jetzig generate layout [name]` and set `pub const layout = "name";` in
each view file.
2024-03-11 22:36:18 +00:00

9 lines
86 B
Plaintext

<html>
<head>
</head>
<body>
<main>{zmpl.content}</main>
</body>
</html>