legit/templates/file.html
2022-12-11 14:18:39 +05:30

18 lines
278 B
HTML

{{ define "file" }}
<html>
{{ template "head" . }}
<header>
<h1>{{ .meta.Title }}</h1>
<h2>{{ .meta.Description }}</h2>
</header>
<body>
{{ template "nav" . }}
<main>
<pre>
{{ .content }}
</pre>
</main>
</body>
</html>
{{ end }}