设计url
This commit is contained in:
@@ -3,7 +3,13 @@
|
||||
{block name="title"}{/block}
|
||||
|
||||
{block name="head-css"}
|
||||
<link rel="canonical" href="www.example.com/nansheng-xiaoshuo">
|
||||
|
||||
{eq name="strPageCode" value="boys"}
|
||||
<link rel="canonical" href="{Request->DomainModel->d_domain}/nansheng-xiaoshuo">
|
||||
{else}
|
||||
<link rel="canonical" href="{Request->DomainModel->d_domain}/nvsheng-xiaoshuo">
|
||||
{/eq}
|
||||
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
@@ -20,16 +26,17 @@
|
||||
<span class="log_line"></span>
|
||||
</div>
|
||||
<ul class="f2_list" mod="hot_tj">
|
||||
{foreach $arrRecommendSerializationNovel as $key=>$Novel}
|
||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||
{include file="Pc/Public/endNovelList" /}
|
||||
{/foreach}
|
||||
{/volist}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="adv">
|
||||
{foreach $arrAdBanner as $key=>$Novel}
|
||||
{volist name="arrAdBanner" id="Ad" key="key"}
|
||||
{include file="Pc/Public/adBanner" /}
|
||||
{/foreach}
|
||||
{/volist}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -40,16 +47,16 @@
|
||||
<h2>完本推荐</h2>
|
||||
</div>
|
||||
<ul class="rec_R">
|
||||
{foreach $arrRecommendEndNovel as $key=>$Novel}
|
||||
{volist name="arrRecommendEndNovel" id="Novel" key="key"}
|
||||
{include file="Pc/Public/endNovelList" /}
|
||||
{/foreach}
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="adv">
|
||||
{foreach $arrAdBanner as $key=>$Novel}
|
||||
{volist name="arrAdBanner" id="Ad" key="key"}
|
||||
{include file="Pc/Public/adBanner" /}
|
||||
{/foreach}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
<div class="f4 area">
|
||||
@@ -70,11 +77,9 @@
|
||||
<li class="sj">更新时间</li>
|
||||
</ul>
|
||||
</li>
|
||||
{foreach $arrNewsUpdateNovel as $key=>$Novel}
|
||||
{if $key >= 1}
|
||||
{volist name="arrNewsUpdateNovel" id="Novel" key="key"}
|
||||
{include file="Pc/Public/indexNewsUpdateList" /}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/volist}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user