PC 端 页面 head

This commit is contained in:
make
2025-04-06 15:31:29 +08:00
parent 57fad274d2
commit cf685cd7b4
20 changed files with 418 additions and 514 deletions

View File

@@ -6,21 +6,21 @@
<!-- 社交媒体标签 -->
<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}/paihang/all" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@context": "https://{$DomainModel->d_domain}/paihang/all",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
"datePublished": "{:date('Y-m-d')}"
}
</script>
{/block}
{block name="head-css"}
<link rel="canonical" href="{Request->DomainModel->d_domain}/paihang/all">
<link rel="canonical" href="https://{$DomainModel->d_domain}/paihang/all">
{/block}
{block name="head-js"}{/block}
{block name='body-class'}body-rank-class{/block}