sandwitchboard/templates/index.html.tmpl
2024-07-06 06:28:05 +02:00

21 lines
570 B
Cheetah

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{.title}}</title>
<link rel="icon" type="image/png" href="{{.relpath}}favicon.png" />
<link rel="stylesheet" type="text/css" href="{{.relpath}}style.css" />
</head>
<body>
<h1>{{.title}}</h1>
{{if ne (len .recipes) 0}}
<ul>
{{range .recipes}}
<li><a href="{{.Path}}">{{.Name}}</a></li>
{{end}}
</ul>
{{end}}
</body>
</html>