agecem-org/templates/html/documentation.gohtml
Victor Lacasse-Beaudoin 413a001460 Merge branch 'main' into feature/documents-dropdown
Un conflit était là parce que le h2 a été changé à un summary;

Il va falloir ajouter une section au CSS pour summary
2023-07-25 14:31:08 -04:00

28 lines
696 B
Text

{{ 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 class="heading1">Documentation</h1>
<p>
{{ range . }}
{{ $bucket_name := .Name }}
<details>
<summary>{{ $bucket_name }}</summary>
<ul>
{{ range .Documents }}
<li> <a href="/public/documentation/{{ $bucket_name }}/{{ . }}">{{ . }}</a></li>
{{ end}}
</ul>
</details>
{{ end }}
</p>
</body>
</html>
{{ end }}