129 lines
5.3 KiB
HTML
129 lines
5.3 KiB
HTML
{extend name="baseH5" /}
|
|
{block name="title"}{$strTitle??''}{/block}
|
|
{block name="keywords"}{$strKeywords??''}{/block}
|
|
{block name="description"}{$strDescription??''}{/block}
|
|
{block name="head"}
|
|
<!-- 社交媒体标签 -->
|
|
<meta property="og:title" content="{$arrNovel['og_novel_book_name']??'未知小说'}" />
|
|
<meta property="og:description" content="{$strDescription??'暂无简介'}" />
|
|
<meta property="og:url"
|
|
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' />
|
|
<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.og_novel_category ?? ''}">
|
|
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}">
|
|
<meta property="og:novel:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
|
|
<meta property="og:novel:read_url"
|
|
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1">
|
|
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}">
|
|
<meta property="og:novel:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
|
|
<meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}">
|
|
<meta property="og:novel:latest_chapter_url"
|
|
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}">
|
|
<!-- 可选:支持 Twitter Card -->
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />
|
|
<meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" />
|
|
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
|
<!-- 结构化数据 -->
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": 'https://{$DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
|
|
"@type": "Book",
|
|
"name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}",
|
|
"description": "{$arrNovel['n_page_description'] ??'暂无简介'}",
|
|
"author": {
|
|
"@type": "Person",
|
|
"name": "{$arrNovel['og_novel_author'] ??'佚名'}"
|
|
},
|
|
"publisher": {
|
|
"@type": "Organization",
|
|
"name": "{$DomainModel->d_name}",
|
|
"url": "https://{$DomainModel->d_domain}"
|
|
},
|
|
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}",
|
|
"image": "{$Novel.n_cover_path ?? ''}",
|
|
"url": '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
|
|
"genre": "{$arrNovel.og_novel_category ??''}",
|
|
"inLanguage": "zh-CN",
|
|
"bookFormat": "https://{$DomainModel->d_domain}/EBook",
|
|
"aggregateRating": {
|
|
"@type": "AggregateRating",
|
|
"ratingValue": "4.5",
|
|
"reviewCount": "100",
|
|
},
|
|
}
|
|
</script>
|
|
{block name="head-js"}{/block}
|
|
|
|
{block name="logo-html"}
|
|
<h2 class="logo">
|
|
<a href="/">狂雨小说</a>
|
|
</h2>
|
|
{/block}
|
|
|
|
{block name="main"}
|
|
<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">
|
|
<a href="/shuku/all/{arrNovel.category_pinyin}/all/page1" itemprop="item">
|
|
<span itemprop="name">{$arrNovel.og_novel_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[og_novel_pin_yin]" /}' itemprop="item">
|
|
<span itemprop="name">{$arrNovel['og_novel_book_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['og_novel_book_name']}-章节目录第{$intPage}页</h1>
|
|
</div>
|
|
|
|
|
|
<div class="attentions">
|
|
<!-- 目录下拉分页-->
|
|
{include file="Public/allChapterPage" start="0"/}
|
|
|
|
<ul class="clearfix">
|
|
{volist name="arrPage.data" id="Chapter" key="key"}
|
|
<li>
|
|
{$arrGRM[$key]|raw}
|
|
<a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$Chapter.c_sort_num}"
|
|
title="{$Chapter.name}">{$Chapter.name}</a>
|
|
</li>
|
|
{/volist}
|
|
</ul>
|
|
|
|
|
|
<!-- 目录下拉分页-->
|
|
{include file="Public/allChapterPage" /}
|
|
<div class="chapters-more">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{/block} |