aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/audio.html
blob: 21ec4636810a054a504b3ee8ad915459644e6df8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ template "base.html" . }}

{{ define "breadcrumb" }}
<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a>
{{ end }}

{{ define "content" }}
  {{ range .Audio }}
    <figure>
      <figcaption>{{ .Label }}</figcaption>
      <audio controls src="{{ $.BasePath }}/files/audio/{{ .FileName }}"></audio>
    </figure>
  {{ end }}
{{ end }}