The issue could be the missing /
between {{ site.url }}
and {{ site.baseurl }}
…
To avoid confusion use the built-in URLFilters… ( absolute_url
and relative_url
)
<amp-img
width="16"
height="16"
alt="phone icon"
src="{{ 'assets/images/icons/Phone_number-16px-16px.png' | absolute_url }}"
layout="responsive">
</amp-img>
or
<amp-img
width="16"
height="16"
alt="phone icon"
src="{{ 'assets/images/icons/Phone_number-16px-16px.png' | relative_url }}"
layout="responsive">
</amp-img>