h5 head 检查
This commit is contained in:
@@ -1,6 +1,24 @@
|
||||
{extend name="baseH5" /}
|
||||
{block name='nav-active-class'}home{/block}
|
||||
{block name="title"}{/block}
|
||||
{block name="title"}{$strTitle??''}{/block}
|
||||
{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}" />
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
|
||||
@@ -6,18 +6,19 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
}
|
||||
</script>
|
||||
{
|
||||
"@context": "{$DomainModel->d_domain}",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
|
||||
@@ -6,18 +6,19 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
}
|
||||
</script>
|
||||
{
|
||||
"@context": "{$DomainModel->d_domain}",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
|
||||
@@ -4,20 +4,58 @@
|
||||
{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="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<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://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"@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}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
@@ -145,7 +183,16 @@
|
||||
<div class="book-slide">
|
||||
<ul class="clearfix">
|
||||
{foreach $arrRelateveNovel as $Novel}
|
||||
{include file="Public/novelListS" /}
|
||||
<li>
|
||||
<a href='{site:nurl n_id="Novel.n_id" n_py="Novel.og_novel_pin_yin"/}'>
|
||||
<img class="lazy lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''}" />
|
||||
<span>{$Novel.og_novel_book_name ?? ''}</span>
|
||||
<em>
|
||||
<aria>作者:</aria>{$Novel.og_novel_author ?? ''}
|
||||
</em>
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -6,18 +6,37 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
{if $strGender == 'all' && $strCategory == 'all' && $strStatus == 'all'}
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/shuku/all" />
|
||||
{else}
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage}" />
|
||||
{/if}
|
||||
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
{if $strGender == 'all' && $strCategory == 'all' && $strStatus == 'all'}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
}
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}/shuku/all",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{else}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage}",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
|
||||
@@ -6,18 +6,19 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<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": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}{$strPageCode == 'boys' ? 'nansheng-xiaoshuo' : 'nvsheng-xiaoshuo' }",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta http-equiv="Cache-Control" content="no-transform, max-age=3600" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
|
||||
<meta name="applicable-device" content="mobile" />
|
||||
<meta name="keywords" content="{$strKeywords??''}">
|
||||
<meta name="description" content="{$strDescription??''}">
|
||||
<title>{$strTitle??''}</title>
|
||||
@@ -16,6 +18,62 @@
|
||||
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
|
||||
<!-- <script src="/public/jquery/jquery-3.7.1.min.js"></script> -->
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<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}-{$arrChapter.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="{$arrChapter.name}">
|
||||
<meta property="og:novel:latest_chapter_url"
|
||||
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrChapter.n_id}/zhang-{$arrChapter.c_sort_num}">
|
||||
<!-- 可选:支持 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}",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{$arrNovel.og_novel_update_time ?? ''}",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{$arrNovel['og_novel_author'] ??'佚名'}"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{$DomainModel->d_name}",
|
||||
"url": "https://{$DomainModel->d_domain}"
|
||||
},
|
||||
"image": "{$Novel.n_cover_path ?? ''}",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}"
|
||||
}
|
||||
"isPartOf": {
|
||||
"@type": "Book",
|
||||
"name": "《{$arrNovel['og_novel_book_name'] ?? '未知小说'}》",
|
||||
"url": '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="skin-default">
|
||||
@@ -246,34 +304,50 @@
|
||||
<script type="text/javascript" src="/template/kuangyu/reader/wap/js/zepto.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="/template/kuangyu/reader/wap/js/reader.js"></script>
|
||||
<script type="text/javascript">
|
||||
const strNovelId = '{$arrNovel.n_id}';
|
||||
var book = {};
|
||||
//书信息
|
||||
book.Info = {
|
||||
"Id": 332,
|
||||
"Name": '我真是一条龙',
|
||||
"authorName": '兔子很淡定'
|
||||
|
||||
<script>
|
||||
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
|
||||
</script>
|
||||
<script>
|
||||
const strNovelId = `{$arrNovel.n_id}`;
|
||||
const arrNovel = {
|
||||
'n_id' : `{$arrNovel['n_id']}`,
|
||||
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
|
||||
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
|
||||
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
|
||||
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
|
||||
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
|
||||
'c_sort_num' : `{$arrChapter.c_sort_num}`,
|
||||
'c_name' : `{$arrChapter.name}`,
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var book = {};
|
||||
book.Info = {
|
||||
"Id": `{$arrNovel['n_id']}`,
|
||||
"Name": `{$arrNovel['og_novel_book_name']}`,
|
||||
"authorName": `{$arrNovel['og_novel_author']}`
|
||||
};
|
||||
//页面初始化章节信息
|
||||
book.chapter = {
|
||||
//页面进入加载的章节id
|
||||
source_id: 12538,
|
||||
id: '4b2d5aab58d71',
|
||||
title: '01 天龙问世',
|
||||
id: '{$arrPreChapter.c_sort_num ?? 1}',
|
||||
//章节源id
|
||||
source_id: '{$arrPreChapter.c_sort_num ?? 1}',
|
||||
title: '{$arrPreChapter.name ?? 1}',
|
||||
content: '',
|
||||
//章节vip标识
|
||||
vipStatus: 0,
|
||||
//上一章id
|
||||
prevId: '',
|
||||
prevId: '{$arrPreChapter.c_sort_num ?? 1}',
|
||||
//下一章id
|
||||
nextId: '486ef2abee55d'
|
||||
nextId: '{$arrNextChapter.c_sort_num ?? 1}'
|
||||
};
|
||||
book.chapterUrl = '/book/12538/chapterId.html';
|
||||
book.url = '/novel/332.html'
|
||||
book.chapterUrl = '/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}';
|
||||
book.url = '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'
|
||||
book.nextChapterVip = 0;
|
||||
book.uid = 0;
|
||||
</script>
|
||||
|
||||
<script src="/public/layer/layer.min.js"></script>
|
||||
<script src="/template/kuangyu/reader/wap/js/global.js" type="text/javascript"></script>
|
||||
<script src="/template/kuangyu/public/js/common.js"></script>
|
||||
|
||||
@@ -4,18 +4,55 @@
|
||||
{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="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<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}-{$arrLatestChapter.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}-{$arrLatestChapter.n_id}/zhang-{$arrLatestChapter.c_sort_num}">
|
||||
<!-- 可选:支持 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://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"@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}
|
||||
|
||||
@@ -4,20 +4,58 @@
|
||||
{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="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<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://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"@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}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
@@ -163,8 +201,18 @@
|
||||
|
||||
|
||||
<script>
|
||||
const strNovelId = '{$arrNovel.n_id}';
|
||||
|
||||
const strNovelId = `{$arrNovel.n_id}`;
|
||||
const arrNovel = {
|
||||
'n_id' : `{$arrNovel['n_id']}`,
|
||||
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
|
||||
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
|
||||
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
|
||||
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
|
||||
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
|
||||
'og_novel_update_time' : `{$arrNovel['og_novel_update_time']}`,
|
||||
'c_sort_num' : 1,
|
||||
'c_name' : `第一章`,
|
||||
};
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
|
||||
@@ -6,18 +6,19 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/paihang/all" />
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/paihang/all",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
|
||||
@@ -6,18 +6,19 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/search.html?keyword={$strSearchKeywords}" />
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/search.html?keyword={$strSearchKeywords}",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/bookshelf" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/bookshelf",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/history" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/history",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{block name="head-js"}{/block}
|
||||
@@ -38,32 +38,7 @@
|
||||
<td class="t6">状态</td>
|
||||
<td class="t7">操作</td>
|
||||
</tr>
|
||||
{foreach $arrNewsNovel as $key=>$Novel}
|
||||
<!-- <tr>
|
||||
<td>
|
||||
<a href="/pc/novel/332.html" >
|
||||
<img class="lazyload-img"
|
||||
src="/static/img/default.jpg" data-src="https://www.630zw.org/img/176943.jpg"></a>
|
||||
</td>
|
||||
<td class="t2">
|
||||
<a href="/pc/novel/332.html" >{}</a>
|
||||
</td>
|
||||
<td class="t3">
|
||||
<a href="/pc/chapter/1-1-1.html" >老读者必看公告!!!</a>
|
||||
</td>
|
||||
<td class="t4">
|
||||
<a href="/pc/novel/332.html" >兔子很淡定</a>
|
||||
</td>
|
||||
<td class="t5">3天前</td>
|
||||
|
||||
<td class="t6">已完结</td>
|
||||
<td class="t7">
|
||||
<a href="/pc/chapter/1-1-1.html" class="goon" >阅读</a>
|
||||
<i><span class="Collection" ajax-get="" >删除</span></i>
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="page-box">
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/user" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/user",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "{$DomainModel->d_domain}",
|
||||
"@type": "book",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "{$DomainModel->d_domain}",
|
||||
"@type": "book",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<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="novel" />
|
||||
<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 ?? ''}">
|
||||
@@ -29,8 +29,8 @@
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": '{$DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
|
||||
"@type": "Book",
|
||||
"@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": {
|
||||
@@ -55,8 +55,8 @@
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
{block name="head-css"}
|
||||
<link rel="canonical"
|
||||
href='{$DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
|
||||
@@ -67,7 +67,7 @@
|
||||
<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">
|
||||
<a href="/pc/" itemprop="item">
|
||||
<span itemprop="name">首页</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
@@ -134,8 +134,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="c04">
|
||||
{if !empty($arrChapter)}
|
||||
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1" class="read">立即阅读</a>
|
||||
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng" class="mulu">目录</a>
|
||||
{/if}
|
||||
</div>
|
||||
<!-- <div class="c05">
|
||||
<p class="c05_t">作品标签:
|
||||
@@ -189,7 +191,7 @@
|
||||
<div class="pl_con">
|
||||
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
|
||||
<!-- n_forge_id -->
|
||||
<a href='/pc/kan/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}'
|
||||
<a href='/pc/kan-xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}'
|
||||
class="red">{$ForgeNovel.n_forge_title}</a>
|
||||
{/volist}
|
||||
|
||||
@@ -230,7 +232,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const strNovelId = `{$arrNovel.n_id}`;
|
||||
const arrNovel = {
|
||||
'n_id' : `{$arrNovel['n_id']}`,
|
||||
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
|
||||
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
|
||||
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
|
||||
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
|
||||
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
|
||||
'c_sort_num' : 1,
|
||||
'c_name' : `第一章`,
|
||||
};
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
{block name="customize"}
|
||||
@@ -239,5 +253,7 @@
|
||||
|
||||
{block name="footer-js"}
|
||||
<script src="/template/kuangyu/home/bai_web/js/global.js"></script>
|
||||
<script src="/template/kuangyu/public/js/common.js"></script>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
{/block}
|
||||
@@ -6,23 +6,46 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{$DomainModel->d_domain}" />
|
||||
{if $strGender == 'all' && $strCategory == 'all' && $strStatus == 'all'}
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/shuku/all" />
|
||||
{else}
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage}" />
|
||||
{/if}
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
{if $strGender == 'all' && $strCategory == 'all' && $strStatus == 'all'}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "{$DomainModel->d_domain}",
|
||||
"@context": "https://{$DomainModel->d_domain}/shuku/all",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
</script>
|
||||
{else}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage}",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="head-css"}
|
||||
|
||||
{if $strGender == 'all' && $strCategory == 'all' && $strStatus == 'all'}
|
||||
<link rel="canonical" href="{$DomainModel->d_domain}/shuku/all">
|
||||
{else}
|
||||
<link rel="canonical" href="/shuku/{$strGender}/{$strCategory}/{$strStatus}/page1">
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
|
||||
{block name="head-css"}
|
||||
<link rel="canonical"
|
||||
href='{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}'>
|
||||
href='https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}'>
|
||||
{/block}
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
@@ -20,7 +20,7 @@
|
||||
<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="novel" />
|
||||
<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 ?? ''}">
|
||||
@@ -41,7 +41,7 @@
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "{$DomainModel->d_domain}",
|
||||
"@context": "https://{$DomainModel->d_domain}",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
@@ -53,12 +53,12 @@
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{$DomainModel->d_name}",
|
||||
"url": "{$DomainModel->d_domain}"
|
||||
"url": "https://{$DomainModel->d_domain}"
|
||||
},
|
||||
"image": "{$Novel.n_cover_path ?? ''}",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}"
|
||||
"@id": "https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}"
|
||||
}
|
||||
"isPartOf": {
|
||||
"@type": "Book",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<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="novel" />
|
||||
<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 ?? ''}">
|
||||
@@ -29,7 +29,7 @@
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": '{$DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
|
||||
"@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'] ??'暂无简介'}",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<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="novel" />
|
||||
<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 ?? ''}">
|
||||
@@ -29,8 +29,8 @@
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": '{$DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
|
||||
"@type": "Book",
|
||||
"@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": {
|
||||
@@ -241,6 +241,7 @@
|
||||
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
|
||||
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
|
||||
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
|
||||
'og_novel_update_time' : `{$arrNovel['og_novel_update_time']}`,
|
||||
'c_sort_num' : 1,
|
||||
'c_name' : `第一章`,
|
||||
};
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/search.html?keyword={$strSearchKeywords}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}/search.html?keyword={$strSearchKeywords}",
|
||||
"@type": "NewsArticle",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}",
|
||||
"@type": "Article",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/bookshelf" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/bookshelf",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{block name="head-js"}{/block}
|
||||
@@ -30,18 +30,20 @@
|
||||
<div class="app_listBlock app_deleteMargin" id="content">
|
||||
<div class="app_listBlock_con">
|
||||
<ul class="app_deletePaddingBottom" id="list">
|
||||
{foreach $arrNewsNovel as $key => $vo}
|
||||
|
||||
{include file="Public/historyNovelList" /}
|
||||
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="app_pageBlock">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
displayBookshelf()
|
||||
})
|
||||
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
{block name="customize"} {/block}
|
||||
@@ -6,16 +6,16 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/history" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/history",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{block name="head-js"}{/block}
|
||||
@@ -30,11 +30,7 @@
|
||||
<div class="app_listBlock app_deleteMargin" id="content">
|
||||
<div class="app_listBlock_con">
|
||||
<ul class="app_deletePaddingBottom" id="list">
|
||||
{foreach $arrNewsNovel as $key => $vo}
|
||||
|
||||
{include file="Public/historyNovelList" /}
|
||||
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -42,6 +38,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
displayHistory()
|
||||
})
|
||||
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
{block name="customize"} {/block}
|
||||
@@ -6,16 +6,16 @@
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/user" />
|
||||
<meta property="og:type" content="article" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"@context": "https://{$DomainModel->d_domain}/user",
|
||||
"@type": "article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05"
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta http-equiv="Cache-Control" content="no-transform, max-age=3600" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
|
||||
<meta name="applicable-device" content="mobile" />
|
||||
<title>{block name="title"}{/block}</title>
|
||||
<meta name="description" content='{block name="keywords"}{/block}'>
|
||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||
<meta name="description" content='{block name="description"}{/block}'>
|
||||
<link rel="icon" href="/template/kuangyu/public/img/favicon.ico" type="image/x-icon" />
|
||||
<link rel="apple-touch-icon" href="/template/kuangyu/public/img/apple-touch-icon.png" />
|
||||
|
||||
<link rel="preload" href="/template/kuangyu/home/new_wap/css/style.css" as="style" onload="this.rel='stylesheet'" />
|
||||
<link rel="stylesheet" href="/template/kuangyu/home/new_wap/css/style.css" type="text/css">
|
||||
@@ -49,8 +52,7 @@
|
||||
</div>
|
||||
<div class="search-bar">大家都在看</div>
|
||||
<div class="search-tags">
|
||||
<!-- <a href="/novel/334.html">落魄千金美食发家日常</a>
|
||||
<a href="/novel/332.html">我真是一条龙</a> -->
|
||||
<!-- <a href="/novel/332.html">我真是一条龙</a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -113,9 +115,8 @@
|
||||
<!-- 全局统计 -->
|
||||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||
|
||||
<!-- TODO 站点统计 这个无法渲染 -->
|
||||
<!-- FIXED 打开TP模板文档,找到变量原样输出 -->
|
||||
{Request->DomainModel->d_statis}
|
||||
<!-- 站点统计 -->
|
||||
{$DomainModel->d_statis|raw}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -34,7 +34,7 @@
|
||||
<a href="/">首页</a>
|
||||
</li>
|
||||
<li class="icon2">
|
||||
<a href="/shuku">书库</a>
|
||||
<a href="/shuku/all">书库</a>
|
||||
</li>
|
||||
<li class="icon3">
|
||||
<a href="/bookshelf">书架</a>
|
||||
@@ -55,9 +55,8 @@
|
||||
<!-- 全局统计 -->
|
||||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||
|
||||
<!-- TODO 站点统计 这个无法渲染 -->
|
||||
<!-- FIXED 打开TP模板文档,找到变量原样输出 -->
|
||||
{Request->DomainModel->d_statis}
|
||||
<!-- 站点统计 -->
|
||||
{$DomainModel->d_statis|raw}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@@ -88,13 +88,15 @@
|
||||
|
||||
<!-- 全局统计 -->
|
||||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||
|
||||
<!-- TODO 站点统计 这个无法渲染 Request START-->
|
||||
<!-- FIXED 打开TP模板文档,找到变量原样输出 -->
|
||||
<!-- {Request->DomainModel->d_statis} -->
|
||||
|
||||
<!-- 现在是使用这个 -->
|
||||
{$DomainModel->d_statis|raw}
|
||||
{Request->DomainModel->d_statis|raw}
|
||||
<!-- FIXED 打开TP模板文档,找到变量原样输出 -->
|
||||
<!-- TODO 问题描述:下面 -->
|
||||
<!-- 我这边测试: 无法调用用 Request 渲染 , 只能渲染 通过 view:assign() 传递过来的变量 START-->
|
||||
<!-- 1.{Request->DomainModel->d_statis|raw} 这个在页面上展示的 就是: {Request->DomainModel->d_statis} -->
|
||||
<!-- 2.{$DomainModel->d_statis|raw} 使用这个是可以正常渲染的,这个在basecontroll 里面 加入 assign了,你看看这样操作行不-->
|
||||
<!-- TODO END -->
|
||||
|
||||
</body>
|
||||
|
||||
@@ -134,9 +134,8 @@
|
||||
<!-- 全局统计 -->
|
||||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||
|
||||
<!-- TODO 站点统计 这个无法渲染 -->
|
||||
<!-- FIXED 打开TP模板文档,找到变量原样输出 -->
|
||||
{Request->DomainModel->d_statis}
|
||||
<!-- 站点统计 -->
|
||||
{$DomainModel->d_statis|raw}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user