Add RelPermalink to pics
|
Before Width: | Height: | Size: 307 KiB After Width: | Height: | Size: 307 KiB |
|
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 258 KiB After Width: | Height: | Size: 258 KiB |
|
Before Width: | Height: | Size: 342 KiB After Width: | Height: | Size: 342 KiB |
|
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 206 KiB |
|
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 206 KiB |
|
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 303 KiB After Width: | Height: | Size: 303 KiB |
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 300 KiB |
|
|
@ -3,14 +3,3 @@ title: "Vols au-dessus du volcan"
|
|||
type: "galerie"
|
||||
concertLink: "events/1"
|
||||
---
|
||||
|
||||
| | | |
|
||||
| - | - | - |
|
||||
| v | volcanv1.jpeg |
|
||||
| h | volcanh1.jpeg |
|
||||
| h | volcanv2.jpeg |
|
||||
| h | volcanh2.jpeg |
|
||||
| h | volcanv3.jpeg |
|
||||
| h | volcanh3.jpeg |
|
||||
| h | volcanv4.jpeg |
|
||||
| h | volcanh4.jpeg |
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
<div class="galerie-table">
|
||||
{{ range .TBody }}
|
||||
{{ $name := ((index . 0).Text | safeHTML ) }}
|
||||
{{ $link := ((index . 1).Text | safeURL ) }}
|
||||
<a href="{{ $link }}">
|
||||
<div class="galerie-entry">
|
||||
{{ if ne $link "" }}
|
||||
<img
|
||||
class="galerie-image"
|
||||
src="{{ $link }}"
|
||||
alt="{{ $name }}"
|
||||
/>
|
||||
{{ end }}
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
@ -2,5 +2,18 @@
|
|||
<a href="/{{ .Params.concertLink }}">
|
||||
<h2>{{ .Title }}</h2>
|
||||
</a>
|
||||
{{ .Content }}
|
||||
|
||||
<div class="galerie-table">
|
||||
{{ range .Resources.ByType "image" }}
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<div class="galerie-entry">
|
||||
<img
|
||||
class="galerie-image"
|
||||
src="{{ .RelPermalink }}"
|
||||
alt="Photo du concert {{ .Title }} - {{ .Name }}"
|
||||
/>
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||