Modifie l’agencement des onglets
This commit is contained in:
parent
b20b81e79e
commit
f445c8588d
90 changed files with 356 additions and 152 deletions
36
layouts/shortcodes/song.html
Normal file
36
layouts/shortcodes/song.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<div class="song">
|
||||
<figure {{ with .Get "class" }} class="{{ . }}"{{ end }}>
|
||||
<picture>
|
||||
{{ with .Get "link" }}
|
||||
<a href="{{ . | absURL }}" class="hidden_link">
|
||||
{{ end }}
|
||||
<img src="/images/{{ .Get "src" }}.jpg"
|
||||
{{ with .Get "alt"}} alt="{{ . }}"{{ end }}
|
||||
{{ with .Get "title"}} title="{{ . }}"{{ end }}/>
|
||||
{{ with .Get "link" }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</picture>
|
||||
{{ if .Get "caption" }}
|
||||
<figcaption>
|
||||
<p>{{ .Get "caption" }}
|
||||
{{ if .Get "attr" }}
|
||||
<span class="attribution">
|
||||
{{ with .Get "attrlink" }}
|
||||
<a href="{{ . }}">
|
||||
{{ end }}
|
||||
{{ .Get "attr" }}
|
||||
{{ with .Get "attrlink" }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
</p>
|
||||
</figcaption>
|
||||
{{ end }}
|
||||
</figure>
|
||||
<audio controls>
|
||||
<source src="/musique/{{ .Get "src" }}.ogg" type="audio/ogg">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue