2025-08-23

1.视频详情增加 canonical 解决重复内容问题
    2.tkd 初始化模板 内容修复
    3.广告js 修改
This commit is contained in:
make
2025-08-23 11:20:31 +08:00
parent 6f9f1a63e6
commit 10e167a390
25 changed files with 462 additions and 431 deletions

View File

@@ -46,11 +46,6 @@
s.parentNode.insertBefore(bp, s);
})();
</script>
{if $DomainModel->d_domain == 'bdmoju.com' || $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
crossorigin="anonymous"></script>
{/if}
</head>
{block name="strPageCode"}
@@ -210,6 +205,8 @@
<script type="text/javascript"
src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
<script type="text/javascript"
src='/public/fu/env.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
<script type="text/javascript"
src='/public/fu/fu.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
{// 全局统计 }

View File

@@ -76,6 +76,12 @@
<meta name="twitter:description" content='{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION"}'>
<meta name="twitter:image" content="{$arrVideo.v_pic}">
{if $Request.route.intVId && $Request.route.intVForgeId}
<link rel="canonical"
href='https://{$DomainModel->d_domain}{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>
{/if}
{// 结构化数据}
<script type="application/ld+json">
{
@@ -263,9 +269,10 @@
<div class="col-pd text-collapse content">
{if !empty($arrVideo.v_seo_words)}
<p class="myui-content__tag">关键词
{// {site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/} }
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
<a
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>&nbsp;&nbsp;
href='javascript:void(0)'>{$SeoWords}</a>&nbsp;&nbsp;
{/volist}
&nbsp;
</p>

View File

@@ -55,6 +55,11 @@
<meta name="twitter:description" content='{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION"}'>
<meta name="twitter:image" content="{$arrVideo.v_pic}">
{if $Request.route.intVId && $Request.route.intVForgeId}
<link rel="canonical"
href='https://{$DomainModel->d_domain}{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="default" play_index="1" /}'>
{/if}
{// 结构化数据}
<script type="application/ld+json">
{