我正在尝试为 Schema 添加 ItemList MicroData,但 Meta 标记在 amp-list/mustache 中被剥离。这是我用于微数据的代码:
<div itemscope itemtype="https://schema.org/ItemList">
<span itemprop="name"><?php $title; ?></span>
<link itemprop="itemListOrder" href="https://schema.org/ItemListOrderDescending" />
<amp-list height="100" width="auto" load-more="auto" src="https://www.flixwatch.co/stagin/list-schema/?post_id=<?php echo $post->ID; ?>" binding="no">
<template type="amp-mustache">
<div itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<meta itemprop="position" content="{{rank}}"/>
<div itemprop="url">{{url}}</div>
</div>
</template>
</amp-list>
</div>
但是在输出中,元标记被剥离了。
这是一个例子,它应该看起来如何。
我尝试在 Div 中添加 {{position}} 而不是元标记,但根据丰富的结果测试它也无效。任何想法,如何让它工作?