h5 head 检查

This commit is contained in:
make
2025-04-06 18:10:04 +08:00
parent 7b1dc9533c
commit 3a2cdb8bf4
36 changed files with 548 additions and 294 deletions

View File

@@ -6,12 +6,12 @@
<!-- 社交媒体标签 -->
<meta property="og:title" content="{$strTitle??''}" />
<meta property="og:description" content="{$strDescription??''}" />
<meta property="og:url" content="{$DomainModel->d_domain}" />
<meta property="og:url" content="https://{$DomainModel->d_domain}{$strPageCode == 'boys' ? 'nansheng-xiaoshuo' : 'nvsheng-xiaoshuo' }" />
<meta property="og:type" content="book" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "{$DomainModel->d_domain}",
"@context": "https://{$DomainModel->d_domain}{$strPageCode == 'boys' ? 'nansheng-xiaoshuo' : 'nvsheng-xiaoshuo' }",
"@type": "book",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
@@ -22,9 +22,9 @@
{block name="head-css"}
{eq name="strPageCode" value="boys"}
<link rel="canonical" href="{$DomainModel->d_domain}/nansheng-xiaoshuo">
<link rel="canonical" href="https://{$DomainModel->d_domain}/nansheng-xiaoshuo">
{else}
<link rel="canonical" href="{$DomainModel->d_domain}/nvsheng-xiaoshuo">
<link rel="canonical" href="https://{$DomainModel->d_domain}/nvsheng-xiaoshuo">
{/eq}
{/block}