nte/example/templates/base.nix

26 lines
410 B
Nix

{
body,
head,
...
}: {
name = "base";
format = "html";
output = /*html*/''
<html>
<head>
<link rel="stylesheet" href="/base.css" />
${head}
</head>
<body>
<div id="navigation">
<a href="/">./</a>
<hr/>
<a href="/posts/index.html">./posts</a>
</div>
<hr/>
${body}
</body>
</html>
'';
}