diff options
| author | Ivar Løvlie <38570165+ivarlovlie@users.noreply.github.com> | 2026-03-31 12:27:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-31 12:27:46 +0200 |
| commit | 8d7cda6e578e684483c0b5c7391c48e5b9ac5192 (patch) | |
| tree | d2b6506db2de72b3a6982cfbe69925b88936de90 /templates | |
| parent | 33f214f6cd9729473bb55fd7b3b923d5d960bb98 (diff) | |
| parent | 3cb7c82cf7c4e050148f69be23590a7fbe587a27 (diff) | |
| download | nebbet.no-8d7cda6e578e684483c0b5c7391c48e5b9ac5192.tar.xz nebbet.no-8d7cda6e578e684483c0b5c7391c48e5b9ac5192.zip | |
Merge pull request #1 from ivarlovlie/claude/static-site-sqlite-setup-mrcAr
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin.html | 22 | ||||
| -rw-r--r-- | templates/base.html | 18 |
2 files changed, 40 insertions, 0 deletions
diff --git a/templates/admin.html b/templates/admin.html new file mode 100644 index 0000000..c0ebeaa --- /dev/null +++ b/templates/admin.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Admin — {{.Title}}</title> + <link rel="stylesheet" href="/styles/main.css"> + <link rel="stylesheet" href="/styles/admin.css"> + {{.ImportMapTag}} + {{- range .ComponentScripts}} + <script type="module" src="{{.}}"></script> + {{- end}} +</head> +<body class="admin"> + <nav class="admin-nav"> + <a href="/admin/">Dashboard</a> + </nav> + <main> + {{.Content}} + </main> +</body> +</html> diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..9128b2e --- /dev/null +++ b/templates/base.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>{{.Title}}</title> + <link rel="stylesheet" href="/styles/main.css"> + {{.ImportMapTag}} + {{- range .ComponentScripts}} + <script type="module" src="{{.}}"></script> + {{- end}} +</head> +<body> + <main> + {{.Content}} + </main> +</body> +</html> |
