Merge pull request 'Ajouter header' (#27) from feature/header into main
Reviewed-on: #27
This commit is contained in:
commit
137eed36ed
2 changed files with 13 additions and 0 deletions
12
public/html/header.gohtml
Normal file
12
public/html/header.gohtml
Normal 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 }}
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue