Merge pull request 'Ajouter header' (#27) from feature/header into main

Reviewed-on: #27
This commit is contained in:
Victor Lacasse-Beaudoin 2023-03-24 17:54:09 -05:00
commit 137eed36ed
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>