diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-11 14:18:39 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-11 14:18:39 +0530 |
commit | ac6ca71f01885b3fff692b4b9ee36ed33965d396 (patch) | |
tree | 6270a3a3c849df8b6fcbd95f9930f39a239e4cfb /templates/file.html | |
parent | ab30497e169cd3bfcd122e668c3cdde6bd48305b (diff) | |
download | legit-ac6ca71f01885b3fff692b4b9ee36ed33965d396.tar.gz legit-ac6ca71f01885b3fff692b4b9ee36ed33965d396.tar.bz2 legit-ac6ca71f01885b3fff692b4b9ee36ed33965d396.zip |
routes: file content view
Diffstat (limited to 'templates/file.html')
-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 }} |