2eee1f2fd2
Séparer embedFS en publicFS et templatesFS
26 lines
624 B
Text
26 lines
624 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>Documentation</h1>
|
|
<p>
|
|
{{ range . }}
|
|
{{ $bucket_name := .Name }}
|
|
<h2>{{ $bucket_name }}</h2>
|
|
|
|
<ul>
|
|
{{ range .Documents }}
|
|
<li> <a href="/public/documentation/{{ $bucket_name }}/{{ . }}">{{ . }}</a></li>
|
|
{{ end}}
|
|
</ul>
|
|
{{ end }}
|
|
</p>
|
|
</body>
|
|
</html>
|
|
{{ end }}
|