{extend name="base" /} {block name="get-data"} {assign name="arrSlots" value="$TpStyle.template_cfg.pages.rank_home.slots"} {/block} {block name="title"}{site:seotkd code="title" page="rank_index" /}{/block} {block name="keywords"}{php} $strRankKeywords = trim((string)($DomainModel->d_keywords ?: $DomainModel->d_name)); $strRankKeywords = $strRankKeywords !== '' ? $strRankKeywords . ',热门榜单,视频排行' : trim((string)$DomainModel->d_name) . ',热门榜单,视频排行'; {/php}{$strRankKeywords}{/block} {block name="description"}{site:seotkd code="description" page="rank_index" /}{/block} {block name="head"} {php} $strRankCanonicalUrl = 'https://' . $DomainModel->d_domain . $strRankUrlTemp; {/php} {// 社交媒体标签} {/block} {block name="head-css"} {/block} {block name="head-js"} {/block} {block name='body-class'}rank-index{/block} {block name="main"}
{foreach $arrSlots as $i => $Slot} {assign name="listCfg" value="$TpStyle.template_cfg.list_layout[$Slot.layout_key]"} {assign name="title" value="$Slot.title_text"} {assign name="limit" value="$listCfg['layout']['max_items']"} {video:ranklistexp count="$limit" sort_type="$Slot.sort_type" d_key="key" d_val="Video" cache_life="3600" export_name="__LIST__" /} {include file="module/list/title/_title_router" /} {include file="module/list/shell/_shell_router" /} {/foreach} {video:seocopy scene="rank_index" export_name="seoCopy" /} {include file="module/seo_copy/collection" /}
{/block} {block name="customize"} {/block}