diff options
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..56d02f8 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>img | {{block "title" .}} noop {{end}}</title> + <link rel="stylesheet" href="/static/main.css"> + <link rel="icon" href="static/square.svg" sizes="any" type="image/svg+xml"> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + </head> + <body> + <nav class="navbar"> + <div class="navbar-start"> + <a href="/fs" class="navbar-item"> + files + </a> + <a href="/media" class="navbar-item"> + media + </a> + <a href="/settings" class="navbar-item"> + settings + </a> + </div> + </nav> + <div class="container is-max-desktop"> + {{block "content" .}}noop{{end}} + </div> + </body> + {{block "script" .}}{{end}} +</html> |