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

@@ -147,7 +147,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

@@ -75,6 +75,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:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>
{/if}
{// 结构化数据}
<script type="application/ld+json">
{
@@ -248,7 +253,7 @@
<div class="e43487 col-md-1 col-sm-1 col-xs-1 detail-info">
{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}
</div>
</div>

View File

@@ -55,6 +55,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:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="default" play_index="1" /}'>
{/if}
{// 结构化数据}
<script type="application/ld+json">
{