diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 17:21:21 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 17:21:21 +0200 |
| commit | a471baf6ee1b1a05acec23f2de1b74f56f4596a5 (patch) | |
| tree | 40012fd384e01c8365554daca6ccdf6c76bb8d9a /backend/templates/base.html | |
| parent | 5bfd611e7b3468ae38263388e2415d4bba94b0fc (diff) | |
feat(backend): handle home
Diffstat (limited to 'backend/templates/base.html')
| -rw-r--r-- | backend/templates/base.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html new file mode 100644 index 0000000..c994cac --- /dev/null +++ b/backend/templates/base.html @@ -0,0 +1,38 @@ +<!doctype html> +<html lang="fr"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>{{ .Title }}</title> + <link rel="stylesheet" href="/assets/styles.css"> +</head> +<body> +<header> + <img src="https://cdn.anhgelus.world/pfp.jpg" alt="pfp"> + <nav> + <a href="">Home</a> + <a href="">Logs</a> + <a href="">Work</a> + <a href="">Philosophy</a> + <a href="">Lien 1</a> + <a href="">Lien 2</a> + <a href="">Lien 3</a> + <a href="">Lien 4</a> + </nav> +</header> +{{ if .Article }} +<main> + {{ template "body" . }} +</main> +{{ else }} +<article> + {{ template "body" . }} +</article> +{{ end }} +<footer> + <p>© 2025 - Anhgelus Morthuuzh</p> + <p>« Une citation »</p> + <p><a href="">Mentions légales</a></p> +</footer> +</body> +</html>
\ No newline at end of file |
