diff options
Diffstat (limited to '')
-rw-r--r-- | templates/file.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/file.html b/templates/file.html new file mode 100644 index 0000000..2ccf1c6 --- /dev/null +++ b/templates/file.html @@ -0,0 +1,18 @@ +{{ 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 }} |