帖子标题链接不可抓取

时间:2020-09-23 06:59:57

标签: xml tags blogger

我有使用此代码的带有标题标签的blogspot xml主题

  <H1 class='post-title entry-title'>
  <b:if cond='data:post.link'>
  <a expr:href='data:post.link' expr:title='data:post.title'><data:post.title/></a>
  <b:else/>
  <b:if cond='data:post.url'>
  <a expr:title='data:post.title'><data:post.title/></a>
  <b:else/>
  <data:post.title/>
  </b:if>
  </b:if>
  </H1>

但是该代码似乎使我的帖子标题不可抓取并且没有通过灯塔

    Crawling and IndexingTo appear in search results, crawlers need access to your app.Search engines may use `href` attributes on links to crawl websites. Ensure that the `href` attribute of anchor elements links to an appropriate destination, so more pages of the site can be discovered

当我的帖子由浏览器呈现时,它变成这样

    <a title="My blogpost title">

有人可以帮忙吗?

0 个答案:

没有答案