Ajouter header #27

Merged
vlbeaudoin merged 2 commits from feature/header into main 2023-03-24 18:54:10 -04:00
2 changed files with 13 additions and 0 deletions

12
public/html/header.gohtml Normal file
View file

@ -0,0 +1,12 @@
{{ define "header" }}
<ul>
<li><a href="/">index</a></li>
<li><a href="/a-propos">À propos</a></li>
<li><a href="/actualite">Actualité</a></li>
<li><a href="/vie-etudiante">Vie étudiante</a></li>
<li><a href="/documentation">Documentation</a></li>
<li><a href="/formulaires">Formulaires</a></li>
</ul>
{{ end }}

View file

@ -7,6 +7,7 @@
<link rel="stylesheet" href="static/index.css">
</head>
<body>
{{ template "header" }}
<h1>Association Générale Étudiante du Cégep Édouard-Montpetit</h1>
</body>
</html>