rename index template to app
This commit is contained in:
parent
7f3901ddc2
commit
294c6221aa
3 changed files with 4 additions and 6 deletions
|
@ -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>
|
|
@ -1,3 +0,0 @@
|
|||
{{ define "test" }}
|
||||
{{ . }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue