Ajouter templates pour routes principales
Ajouter templates au lieu de retourner une string de titre de la route.
This commit is contained in:
parent
42ed8bbd79
commit
d8144c24ff
6 changed files with 75 additions and 5 deletions
14
public/html/a-propos.gohtml
Normal file
14
public/html/a-propos.gohtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "a-propos-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM | À propos</title>
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>À propos</h1>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
14
public/html/actualite.gohtml
Normal file
14
public/html/actualite.gohtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "actualite-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM | Actualité</title>
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>Actualité</h1>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
14
public/html/documentation.gohtml
Normal file
14
public/html/documentation.gohtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "documentation-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM | Documentation</title>
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>Documentation</h1>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
14
public/html/formulaires.gohtml
Normal file
14
public/html/formulaires.gohtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "formulaires-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM | Formulaires</title>
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>Formulaires</h1>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
14
public/html/vie-etudiante.gohtml
Normal file
14
public/html/vie-etudiante.gohtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "vie-etudiante-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM | Vie étudiante</title>
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>Vie étudiante</h1>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue