agecem-org/templates/html/documentation.gohtml

36 lines
1.1 KiB
Text
Raw Normal View History

{{ define "documentation-html" }}
2023-08-15 14:30:10 -04:00
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM | Documentation</title>
<link rel="stylesheet" href="/public/css/documentation.css">
2023-08-15 14:30:10 -04:00
{{ template "general-html" }}
</head>
<body>
{{ template "header-html" }}
<div class="wrapper documentationWrapper">
<h1 class="heading1">Documentation</h1>
<p>
{{ range .Data.Buckets }}
{{ $bucket_name := .Name }}
{{ $bucket_display_name := .DisplayName }}
<details class="documentationCategorie">
<summary class="documentationDescription">{{ $bucket_display_name }}</summary>
<ul class="documentationListe">
{{ range .Documents }}
<a class ="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}"><li class="documentationDocument">{{ . }}</li></a>
{{ end}}
</ul>
</details>
2023-08-15 14:30:10 -04:00
{{ end }}
</p>
<p>
{{ .Message }}
</p>
2023-08-15 14:30:10 -04:00
</div>
</body>
</html>
{{ end }}