On my template I am using the following to define a og:meta image url, some pages will override this.
<meta property="og:image" content="{% block ogMetaImage %}{% endblock %}" />
Now, what I want to do is have a default image there if the block is not set on one of my child pages that extend my main template.
Something like the following should be on the main template
<meta property="og:image" content="{% block ogMetaImage%}https://example.com/image.jpg{% endblock %}" />
Is there a way to do this with Twig?