2025-08-23
1.视频详情增加 canonical 解决重复内容问题
2.tkd 初始化模板 内容修复
3.广告js 修改
This commit is contained in:
@@ -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>
|
||||
href='javascript:void(0)'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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">
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user