debug search

This commit is contained in:
make
2025-04-28 11:01:43 +08:00
parent 77b68bae25
commit e5e87ca286
3 changed files with 4 additions and 5 deletions

View File

@@ -151,8 +151,7 @@ $Novel.n_id{extend name="baseH5" /}
class="green">{$arrNovel.n_status}</span> class="green">{$arrNovel.n_status}</span>
</p> </p>
<p class="update"><span>最近更新:</span><a href='{site:lcpurl n_id="$arrNovel.n_id" <p class="update"><span>最近更新:</span><a href='{site:lcpurl n_id="$arrNovel.n_id"
n_py="$arrNovel.n_name_pinyin" /}'>{$arrNovel.arrLatestChapter->c_name n_py="$arrNovel.n_name_pinyin" /}'>{$arrNovel.n_latest_chapter_name ?? ""}</a></p>
?? ""}</a></p>
<p class="time"><span>更新时间:</span>{$arrNovel.n_update_time} </p> <p class="time"><span>更新时间:</span>{$arrNovel.n_update_time} </p>
</div> </div>
<div class="clear"></div> <div class="clear"></div>

View File

@@ -97,7 +97,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
</h2> </h2>
{$arrGrm[2]|raw} {$arrGrm[2]|raw}
<div class="word_read"> <div class="word_read">
<h3>{$arrNovel.n_name}{$arrChapter['c_name']}</h3> <h3>{$arrNovel.n_name}{$arrChapter.c_name}</h3>
<div class="read_btn"> <div class="read_btn">
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1} {if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
<a id="j_chapterPrev" href="javascript:void(0);">上一页</a> <a id="j_chapterPrev" href="javascript:void(0);">上一页</a>

View File

@@ -7,7 +7,7 @@
<!-- 社交媒体标签 --> <!-- 社交媒体标签 -->
<meta property="og:title" content={site:replace code="NOVEL@GETSEARCHNOVEL@TITLE"} /> <meta property="og:title" content={site:replace code="NOVEL@GETSEARCHNOVEL@TITLE"} />
<meta property="og:description" content='{site:replace code="NOVEL@GETSEARCHNOVEL@DESCRIPTION"}' /> <meta property="og:description" content='{site:replace code="NOVEL@GETSEARCHNOVEL@DESCRIPTION"}' />
<meta property="og:url" content="https://{$DomainModel->d_domain}{site:souurl key='$Request.get.keyword' p='1'/}" /> <meta property="og:url" content="https://{$DomainModel->d_name}/searchhome/0.html" />
<meta property="og:type" content="book" /> <meta property="og:type" content="book" />
<meta property="og:site_name" content="{$DomainModel->d_name}"> <meta property="og:site_name" content="{$DomainModel->d_name}">
@@ -20,7 +20,7 @@
{ {
"@context": "https://schema.org", "@context": "https://schema.org",
"@type": "SearchResultsPage", "@type": "SearchResultsPage",
"url": "https://{$DomainModel->d_name}{site:souurl key='$Request.get.keyword' p='1'/}", "url": "https://{$DomainModel->d_name}/searchhome/0.html",
"name": "{$DomainModel->d_name} - {$DomainModel->d_name}搜索 第{$Request.get.intPage}页", "name": "{$DomainModel->d_name} - {$DomainModel->d_name}搜索 第{$Request.get.intPage}页",
"description": "搜索‘{$Request.get.keyword}’结果第{$Request.get.intPage}页,提供{$Request.get.keyword}创作的小说免费阅读。", "description": "搜索‘{$Request.get.keyword}’结果第{$Request.get.intPage}页,提供{$Request.get.keyword}创作的小说免费阅读。",
"datePublished": "{$arrNovel['n_update_time'] ?? time()}", "datePublished": "{$arrNovel['n_update_time'] ?? time()}",