【发布时间】:2016-10-14 16:53:36
【问题描述】:
出于 SEO 的目的,我想复制这篇博文设计this website 我要复制的特定部分是 id="enter-posts" 的 div,其中包含帖子的标题、作者、日期、标签
我尝试添加如下标签:
<div class='author-profile' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
<b:if cond='data:post.authorPhoto.url'><a expr:href='data:post.authorProfileUrl' itemprop='url'>
<div class='auhtor-image'><img expr:src='data:post.authorPhoto.url' itemprop='image'/></div></a></b:if>
<div><span class='author-about'>About </span><a class='g-profile' expr:href='data:post.authorProfileUrl' rel='author' title='author profile'><span itemprop='name'><data:post.author/></span></a></div><p class='description' itemprop='description'><data:post.authorAboutMe/></p></div>
对于我要添加的其他元素的作者等,但问题是:
什么都没有显示,但是当我把这些标签放在帖子正文中的标题之前或帖子的末尾时,它们会正常显示。我该怎么办?
【问题讨论】:
标签: tags label title blogger author