163 lines
6.6 KiB
HTML
163 lines
6.6 KiB
HTML
{extend name="baseH5" /}
|
|
|
|
{block name="title"}{site:replace code="NOVEL@GETNOVELCATALOG@TITLE"}{/block}
|
|
{block name="keywords"}{site:replace code="NOVEL@GETNOVELCATALOG@KEYWORDS"}{/block}
|
|
{block name="description"}{site:replace code="NOVEL@GETNOVELCATALOG@DESCRIPTION"}{/block}
|
|
|
|
{block name="head"}
|
|
|
|
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
|
|
{site:grm page_code="h5_novel_catalog " diff="$Request.url" num="120" g_key="arrGrm" /}
|
|
|
|
<!-- 社交媒体标签 -->
|
|
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />
|
|
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}' />
|
|
<meta property="og:url"
|
|
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' />
|
|
<meta property="og:type" content="book" />
|
|
<meta property="og:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
|
<meta property="og:site_name" content="{$DomainModel->d_name}" />
|
|
<meta property="og:novel:category" content="{$arrNovel.n_category ?? ''}">
|
|
<meta property="og:novel:author" content="{$arrNovel.n_author ?? ''}">
|
|
<meta property="og:novel:book_name" content="{$arrNovel.n_name ?? ''}">
|
|
<meta property="og:novel:read_url"
|
|
content='https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrNovel.intFirstChapterSort"/}'>
|
|
<meta property="og:novel:status" content="{$arrNovel.n_status ?? ''}">
|
|
<meta property="og:novel:update_time" content="{$arrNovel.n_update_time ?? ''}">
|
|
<meta property="og:novel:latest_chapter_name" content="{$arrNovel.n_latest_chapter_name ?? ''}">
|
|
<meta property="og:novel:latest_chapter_url"
|
|
content='https://{$DomainModel->d_domain}{site:lcpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
|
|
<!-- 可选:支持 Twitter Card -->
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="{$arrNovel['n_name'] ?? '未知小说'}" />
|
|
<meta name="twitter:description" content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}' />
|
|
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
|
<!-- 结构化数据 -->
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "Book",
|
|
"name": "{$arrNovel['n_name'] ?? '未知小说'}",
|
|
"description": "{$arrNovel['n_description'] ??'暂无简介'}",
|
|
"author": {
|
|
"@type": "Person",
|
|
"name": "{$arrNovel['n_author'] ??'佚名'}"
|
|
},
|
|
"publisher": {
|
|
"@type": "Organization",
|
|
"name": "{$DomainModel->d_name}",
|
|
"url": "https://{$DomainModel->d_domain}"
|
|
},
|
|
"datePublished": "{$arrNovel['n_update_time'] ?? time()}",
|
|
"image": "{$arrNovel.n_cover_path ?? ''}",
|
|
"url": 'https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}',
|
|
"genre": "{$arrNovel.n_category ??''}",
|
|
"inLanguage": "zh-CN",
|
|
"bookFormat": "https://{$DomainModel->d_domain}/EBook",
|
|
"aggregateRating": {
|
|
"@type": "AggregateRating",
|
|
"ratingValue": "4.5",
|
|
"reviewCount": "100",
|
|
},
|
|
"itemListElement": [
|
|
{
|
|
"@type": "ListItem",
|
|
"position": 1,
|
|
"name": "首页",
|
|
"item": "https://{$DomainModel->d_domain}"
|
|
},
|
|
{
|
|
"@type": "ListItem",
|
|
"position": 2,
|
|
"name": "{$arrNovel.n_category ??''}",
|
|
"item": 'https://{site:nflurl category="$arrNovel.n_category_pinyin" order="all" status="all" page="1"/}'
|
|
},
|
|
{
|
|
"@type": "ListItem",
|
|
"position": 3,
|
|
"name": "{$arrNovel['n_name']}",
|
|
"item": '{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'
|
|
}
|
|
]
|
|
|
|
}
|
|
|
|
</script>
|
|
{/block}
|
|
|
|
{block name="head-js"}{/block}
|
|
|
|
{block name="logo-html"}
|
|
<h2 class="logo">
|
|
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
|
|
</h2>
|
|
{/block}
|
|
|
|
{block name="main"}
|
|
|
|
{chapter:pagerexp page="$Request.route.intPage" limit="100" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter"
|
|
cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="generateChapterPager" export_name="resData" /}
|
|
|
|
<div class="wrap">
|
|
<nav class="breadcrumb" aria-label="breadcrumb">
|
|
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
|
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<a href="/" itemprop="item">
|
|
<span itemprop="name">首页</span>
|
|
</a>
|
|
<meta itemprop="position" content="1" />
|
|
</li>
|
|
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<?php $arrNovel['n_category_pinyin'] ?? $arrNovel['n_category_pinyin'] = 'all'?>
|
|
<a href='{site:nflurl gender="all" category="$arrNovel.n_category_pinyin" status="all" page="1"/}' itemprop="item">
|
|
<span itemprop="name">{$arrNovel.n_category}</span>
|
|
</a>
|
|
<meta itemprop="position" content="2" />
|
|
</li>
|
|
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' itemprop="item">
|
|
<span itemprop="name">{$arrNovel['n_name']}</span>
|
|
</a>
|
|
<meta itemprop="position" content="3" />
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
|
|
<!-- hot-book -->
|
|
<div class="mod mod-attentions">
|
|
{$arrGrm[0]|raw}
|
|
<div class="mod-head">
|
|
<h1>{$arrNovel['n_name']}章节目录 - {$arrNovel['n_author']} - {$DomainModel->d_name} 第{$Request.route.intPage}页</h1>
|
|
</div>
|
|
|
|
|
|
<div class="attentions">
|
|
<!-- 目录下拉分页-->
|
|
{include file="public/allChapterPage" start="0"/}
|
|
|
|
<ul class="clearfix">
|
|
{volist name="resData.data" id="Chapter" key="key"}
|
|
<li>
|
|
{$arrGrm[$key]|raw}
|
|
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'
|
|
title="{$arrNovel['n_name']} {$Chapter.c_name}">{$Chapter.c_name}</a>
|
|
</li>
|
|
{/volist}
|
|
</ul>
|
|
|
|
<!-- 目录下拉分页-->
|
|
{include file="public/allChapterPage" /}
|
|
<div class="chapters-more">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{/block}
|
|
|
|
|
|
|