{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %} {% if page.header.overlay_filter contains "rgba" %} {% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %} {% elsif page.header.overlay_filter %} {% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %} {% endif %} {% if page.header.image_description %} {% assign image_description = page.header.image_description %} {% else %} {% assign image_description = page.title %} {% endif %} {% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}