agecem-org/templates/html/documentation.gohtml

30 lines
759 B
Text
Raw Normal View History

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