Not sure if this is working as intended.
My old filename was “Screenshot 2023-04-17 at 12-46-20 Learning F# The F# Software Foundation.png”
This was causing error (see screenshot)
with src="{{ $post_image.RelPermalink }}"
in a partial where
{{ $post_images := .context.Resources.ByType "image" }}
{{ if (gt (len $post_images) 0) }}
{{ $post_image := index $post_images 0 }}
...
My new filename was “Screenshot 2023-04-17 at 12-46-20 Learning FSharp The FSharp Software Foundation.png” and the issue is fixed.