This commit is contained in:
make
2025-04-23 12:05:37 +08:00
parent eb0c21dff9
commit c7bba117a1
16 changed files with 182 additions and 184 deletions

View File

@@ -32,21 +32,29 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
{if $Request.route.strGender == 'all' && $Request.route.strCategory == 'all' && $Request.route.strStatus == 'all'}
<script type="application/ld+json">
{
"@context": "https://{$DomainModel->d_domain}{$strCategoryIndexUrlTemp}",
"@type": "book",
"headline": '{site:replace code="NOVEL@GETLIBRARY@TITLE"}'
"description": '{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}',
"datePublished": "{:date('Y-m-d')}"
"@context": "https://schema.org",
"@type": "CollectionPage",
"url": 'https://{$DomainModel->d_domain}{$strCategoryIndexUrlTemp}',
"name": '{site:replace code="NOVEL@GETLIBRARY@TITLE"}',
"description": '{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}',
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
}
}
</script>
{else}
<script type="application/ld+json">
{
"@context": 'https://{$DomainModel->d_domain}{site:nflurl category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}',
"@type": "book",
"headline": '{site:replace code="NOVEL@GETLIBRARY@TITLE"}',
"description": '{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}',
"datePublished": "{:date('Y-m-d')}"
"@context": "https://schema.org",
"@type": "CollectionPage",
"url": 'https://{$DomainModel->d_domain}{site:nflurl category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}',
"name": '{site:replace code="NOVEL@GETLIBRARY@TITLE"}',
"description": '{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}',
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
}
}
</script>
{/if}
@@ -69,7 +77,7 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
{block name="main"}
<p class="site-description">{$strDescription??''}</p>
<h2 class="site-description">{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}</h2>
<div class="navpf">
<nav class="sortChannel_nav">