debug
This commit is contained in:
@@ -3,15 +3,16 @@
|
||||
{block name="keywords"}{$strKeywords??''}{/block}
|
||||
{block name="description"}{$strDescription??''}{/block}
|
||||
{block name="head"}
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}{$strPageCode == 'boys' ? 'nansheng-xiaoshuo' : 'nvsheng-xiaoshuo' }" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}{$strPageCode == 'boys' ? $strNanUrlTemp : $strNvUrlTemp }" />
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}{$strPageCode == 'boys' ? 'nansheng-xiaoshuo' : 'nvsheng-xiaoshuo' }",
|
||||
"@context": "https://{$DomainModel->d_domain}{$strPageCode == 'boys' ? $strNanUrlTemp : $strNvUrlTemp }",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
@@ -22,9 +23,9 @@
|
||||
{block name="head-css"}
|
||||
|
||||
{eq name="strPageCode" value="boys"}
|
||||
<link rel="canonical" href="https://{$DomainModel->d_domain}/nansheng-xiaoshuo">
|
||||
<link rel="canonical" href="https://{$DomainModel->d_domain}/{$strNanUrlTemp}">
|
||||
{else}
|
||||
<link rel="canonical" href="https://{$DomainModel->d_domain}/nvsheng-xiaoshuo">
|
||||
<link rel="canonical" href="https://{$DomainModel->d_domain}/{$strNvUrlTemp}">
|
||||
{/eq}
|
||||
|
||||
{/block}
|
||||
@@ -53,11 +54,11 @@
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
{eq name="strPageCode" value="boys"}
|
||||
<a href="{$strPcPath}/nansheng-xiaoshuo" itemprop="item">
|
||||
<a href="{$strPcPath}{$strNanUrlTemp}" itemprop="item">
|
||||
<span itemprop="name">男生</span>
|
||||
</a>
|
||||
{else}
|
||||
<a href="{$strPcPath}/nvsheng-xiaoshuo" itemprop="item">
|
||||
<a href="{$strPcPath}{$strNvUrlTemp}" itemprop="item">
|
||||
<span itemprop="name">女生</span>
|
||||
</a>
|
||||
{/eq}
|
||||
|
||||
Reference in New Issue
Block a user