You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
325 B
TypeScript

4 years ago
import { Context } from "sealious";
export default async function html(
context: Context,
body: string
): Promise<string> {
return /* HTML */ `<!DOCTYPE html>
<html>
4 years ago
<head>
<script src="/dist/bundle.js"></script>
</head>
<link href="/style.css" rel="stylesheet" type="text/css" />
${body}
</html>`;
}