Merge pull request 'Remplacer types de documents h2 -> details' (#79) from feature/documents-dropdown into main

Reviewed-on: #79
This commit is contained in:
Victor Lacasse-Beaudoin 2023-07-25 13:34:23 -05:00
commit b880c38907

View file

@ -12,13 +12,15 @@
<p> <p>
{{ range . }} {{ range . }}
{{ $bucket_name := .Name }} {{ $bucket_name := .Name }}
<h2 class="heading2">{{ $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>