feat: share translated feature images and animate landing

This commit is contained in:
Friday authored and Nuno C. committed 2026-08-17 20:19:02 +01:00
1 parent d296e16e41
commit bbf194ce31
15 files changed
+87 -12

No files matched your search

@@ -0,0 +1,10 @@
{{/* Return the page's feature image, falling back to a translated sibling.
This keeps a translated article visually aligned with its source page without
forcing every locale to duplicate presentation-only front matter. */}}
{{ $featureImage := .Params.featureimage }}
{{ if not $featureImage }}
{{ range .Translations }}
{{ with .Params.featureimage }}{{ $featureImage = . }}{{ end }}
{{ end }}
{{ end }}
{{ return $featureImage }}