在 Blogger 中,我正在支持我的网站放大器,为此,在我的帖子中,我更改了所有<img to <amp-img
. 但在结构化数据中,我使用以下代码:
<div class='none' itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<b:if cond='data:post.firstImageUrl'>
<amp-img expr:src='data:post.firstImageUrl' itemprop='image'/>
<meta expr:content='data:post.firstImageUrl' itemprop='url'/>
</b:if>
<meta content='800' itemprop='width'/> <!--Images should be at least 696 pixels wide.-->
<meta content='800' itemprop='height'/>
</div>
<amp-img
URL,因为它仅用于提取<img
URL。我怎样才能解决这个问题?