Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/about-us/index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Lerne das Team hinter der FIP Guide Website kennen und entdecke, w
{{% float-image
src="image.webp"
alt="Das FIP Guide Team"
caption="Das FIP Guide Team von links nach rechts: Robert Schuster, Lennart Rommeiß, Moritz Weber, Willy Schreiter. 📸 Toni Arndt"
caption="Das FIP Guide Team von links nach rechts: Robert Schuster, Lennart Rommeiß, Moritz Weber und Willy Schreiter. <br> 📸 Toni Arndt"
width="50%"
position="right"
%}}
Expand Down
2 changes: 1 addition & 1 deletion content/about-us/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Get to know the team behind the FIP Guide website and discover why
{{% float-image
src="image.webp"
alt="The FIP Guide core team"
caption="The FIP Guide core team from left to right: Robert Schuster, Lennart Rommeiß, Moritz Weber, Willy Schreiter. 📸 Toni Arndt"
caption="The FIP Guide team from left to right: Robert Schuster, Lennart Rommeiß, Moritz Weber and Willy Schreiter. <br> 📸 Toni Arndt"
width="50%"
position="right"
%}}
Expand Down
2 changes: 1 addition & 1 deletion content/about-us/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Faites connaissance avec l'équipe derrière le site web FIP Guide
{{% float-image
src="image.webp"
alt="L'équipe principale du guide FIP"
caption="L'équipe principale du guide FIP de gauche à droite : Robert Schuster, Lennart Rommeiß, Moritz Weber, Willy Schreiter. 📸 Toni Arndt"
caption="L'équipe FIP Guide de gauche à droite : Robert Schuster, Lennart Rommeiß, Moritz Weber et Willy Schreiter. <br> 📸 Toni Arndt"
width="50%"
position="right"
%}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
loading="lazy"
/>
{{- else -}}
{{- partial "image" (dict "image" $image "caption" .PlainText) -}}
{{- partial "image" (dict "image" $image "caption" .PlainText "Page" .Page) -}}
{{- end -}}
{{- else -}}
{{- warnf "Image resource '%s' could not be found. Used in '%s'" .Destination $.Page.File.Path -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{{- if .caption -}}
<hr aria-hidden="true" />
<figcaption>
{{ .caption }}
{{- .caption | .Page.RenderString -}}
</figcaption>
{{- end -}}
</figure>
1 change: 1 addition & 0 deletions layouts/shortcodes/float-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"alt" $alt
"caption" $caption
"width" $width
"Page" .Page
)
-}}
<div class="m-float-image__content">
Expand Down
Loading