Fediversity/website/presentation/templates.nix

18 lines
387 B
Nix
Raw Normal View History

2024-11-13 15:24:41 +01:00
{ lib }:
{
html = { head, body }: ''
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
${lib.indent " " head}
</head>
<body>
${lib.indent " " body}
<body>
</html>
'';
}