This commit is contained in:
make
2025-04-21 21:03:24 +08:00
parent 2337ab4f7d
commit 43761001fa
20 changed files with 106 additions and 136 deletions

View File

@@ -2,6 +2,7 @@
<html lang="zh-CN">
<head>
{block name="get-data"}{/block}
<meta charset="UTF-8" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="robots" content="index, follow" />

View File

@@ -1,6 +1,7 @@
<html data-dpr="1" style="font-size: 39px;">
<head>
{block name="get-data"}{/block}
<meta charset="UTF-8" />
<meta name="robots" content="index, follow" />
<meta name="mobile-web-app-capable" content="yes">

View File

@@ -2,6 +2,7 @@
<html lang="zh-CN">
<head>
{block name="get-data"}{/block}
<meta charset="utf-8">
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

View File

@@ -1,6 +1,7 @@
<html>
<head>
{block name="get-data"}{/block}
<meta charset="utf-8">
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

View File

@@ -1,17 +1,21 @@
{extend name="baseH5" /}
{block name="get-data"}
{if $Request.route.intNovelId}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{else}
{novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /}
{/if}
{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE"}{/block}
{block name="keywords"}{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS"}{/block}
{block name="description"}{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}{/block}
{block name="head"}
{if $Request.route.intNovelId}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{else}
{novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /}
{/if}
{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
<!-- 社交媒体标签 -->

View File

@@ -1,13 +1,16 @@
{extend name="basePc" /}
{block name="get-data"}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{site:grm page_code="pc_novel_catalog" diff="$Request.url" num="120" g_key="arrGrm" /}
{/block}
{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="pc_novel_catalog" diff="$Request.url" num="120" g_key="arrGrm" /}
<!-- 社交媒体标签 -->
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />