h5 head 检查

This commit is contained in:
make
2025-04-06 18:10:04 +08:00
parent 7b1dc9533c
commit 3a2cdb8bf4
36 changed files with 548 additions and 294 deletions

View File

@@ -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",