rename index template to app

This commit is contained in:
Victor Lacasse-Beaudoin 2024-12-30 19:14:49 -05:00
parent 7f3901ddc2
commit 294c6221aa
3 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{{ define "index" }}
{{ define "app" }}
<!DOCTYPE html>
<html lang="fr">
<head>
@ -114,6 +114,7 @@ button {
{{ if .Error }}<p class="result">Erreur: {{ .Error }}</p>{{ end }}
{{ if .Result }}<p class="result">{{ .Result }}</p>{{ end }}
</body>
</html>

View file

@ -1,3 +0,0 @@
{{ define "test" }}
{{ . }}
{{ end }}