This commit is contained in:
make
2025-04-16 16:32:03 +08:00
parent f63eec8a10
commit 13e3a44cd8
8 changed files with 237 additions and 124 deletions

View File

@@ -1,11 +1,36 @@
{extend name="baseH5" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{extend name="baseH5" /}
{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",
"name": "{$DomainModel->d_name}",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "{:date('Y-m-d')}"
"url": "https://{$DomainModel->d_domain}",
"potentialAction": {
"@type": "SearchAction",
"target": 'https://https://{$DomainModel->d_domain}{site:souurl key="search_term_string" p="1"/}',
"query-input": "required name=search_term_string"
}
}
</script>
{/block}
{block name="head-js"}{/block}
{block name='nav-active-class'}home{/block}
{block name='head-name'}630{/block}
{block name='head-href'}/{/block}