Remplacer types de documents h2 -> details #79

Merged
vlbeaudoin merged 2 commits from feature/documents-dropdown into main 2023-07-25 14:34:24 -04:00
Showing only changes of commit 4cc4338c15 - Show all commits

View file

@ -12,13 +12,15 @@
<p> <p>
{{ range . }} {{ range . }}
{{ $bucket_name := .Name }} {{ $bucket_name := .Name }}
<h2>{{ $bucket_name }}</h2> <details>
<summary>{{ $bucket_name }}</summary>
<ul> <ul>
{{ range .Documents }} {{ range .Documents }}
<li> <a href="/public/documentation/{{ $bucket_name }}/{{ . }}">{{ . }}</a></li> <li> <a href="/public/documentation/{{ $bucket_name }}/{{ . }}">{{ . }}</a></li>
{{ end}} {{ end}}
</ul> </ul>
</details>
{{ end }} {{ end }}
</p> </p>
</body> </body>