This commit is contained in:
parent
51efa66cd1
commit
8253e02383
4 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
title: Journée du vélo au Val d'Hazey 2024
|
title: Journée du vélo au Val d'Hazey 2024
|
||||||
date: 2024-07-01
|
date: 2024-07-01
|
||||||
featured_image:
|
featured_image:
|
||||||
src: stand_large_discussions.jpg
|
src: stand_discussions.jpg
|
||||||
caption: Sebastien Denise et Alexis Martini discutent de l'état des aménagements cyclables avec deux visiteurs sur notre stand.
|
caption: Sebastien Denise et Alexis Martini discutent de l'état des aménagements cyclables avec deux visiteurs sur notre stand.
|
||||||
alt: Quatre personnes discutant devant un stand.
|
alt: Quatre personnes discutant devant un stand.
|
||||||
---
|
---
|
||||||
|
|
BIN
content/actualites/journee-du-velo-2024/stand_discussions.jpg
Normal file
BIN
content/actualites/journee-du-velo-2024/stand_discussions.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 132 KiB |
Binary file not shown.
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 162 KiB |
|
@ -18,7 +18,7 @@
|
||||||
<a href="{{ .Get "link" }}"{{ with .Get "target" }} target="{{ . }}"{{ end }}{{ with .Get "rel" }} rel="{{ . }}"{{ end }}>
|
<a href="{{ .Get "link" }}"{{ with .Get "target" }} target="{{ . }}"{{ end }}{{ with .Get "rel" }} rel="{{ . }}"{{ end }}>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{ $options := or (.Get "options") "500x500 center" }}
|
{{ $options := or (.Get "options") "600x600 center" }}
|
||||||
{{ $permalink := "" }}
|
{{ $permalink := "" }}
|
||||||
{{ if hasPrefix (.Get "src") "https://" }}
|
{{ if hasPrefix (.Get "src") "https://" }}
|
||||||
{{ $permalink = .Get "src" }}
|
{{ $permalink = .Get "src" }}
|
||||||
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
<img
|
<img
|
||||||
class="figure-img img-fluid"
|
class="figure-img img-fluid"
|
||||||
|
style="max-width: 500px"
|
||||||
src="{{ $permalink }}"
|
src="{{ $permalink }}"
|
||||||
{{- if or (.Get "alt") (.Get "caption") }}
|
{{- if or (.Get "alt") (.Get "caption") }}
|
||||||
alt="{{ with .Get "alt" }}{{ . }}{{ else }}{{ .Get "caption" | markdownify| plainify }}{{ end }}"
|
alt="{{ with .Get "alt" }}{{ . }}{{ else }}{{ .Get "caption" | markdownify| plainify }}{{ end }}"
|
||||||
|
|
Loading…
Reference in a new issue