diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-03 11:36:22 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-03 11:49:09 +0200 |
| commit | b8a964e19de9cb025587c3546930a18c0d4edd07 (patch) | |
| tree | fe4bec22a4727c4932021eb973a646ca6389011e /backend/templates | |
| parent | cec39db23db603e87b969a5c630b5873f96a8be7 (diff) | |
feat(backend): handle simple root files
Diffstat (limited to 'backend/templates')
| -rw-r--r-- | backend/templates/base.html | 2 | ||||
| -rw-r--r-- | backend/templates/simple.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html index 8d8567a..5d62ffa 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -39,7 +39,7 @@ <footer> <p>© 2025 - Anhgelus Morthuuzh</p> <p>« {{ .Quote }} »</p> - <p><a href="">Mentions légales</a>, <a href="https://git.anhgelus.world/anhgelus/small-web">Code source</a></p> + <p><a href="/legal">Mentions légales</a>, <a href="https://git.anhgelus.world/anhgelus/small-web">Code source</a></p> </footer> </body> </html> diff --git a/backend/templates/simple.html b/backend/templates/simple.html new file mode 100644 index 0000000..dd00397 --- /dev/null +++ b/backend/templates/simple.html @@ -0,0 +1 @@ +{{ define "body" }}{{ .Content }}{{ end }} |
