<title>首页 - ${site.name}</title>
<ul>
<li><a href="/${base}">首页</a></li>
[@cms_channel_list count="9"]
[#list tag_list as c]
<li><a href="${c.url}">${c.name}</a></li>
[/#list]
[/@cms_channel_list]
</ul>
<div class="main">
<div class="lun_bo">
<!-- 渲染轮播图的图片 -->
[@cms_content_list typeId='3' count='7' channelId='110']
[#list tag_list as a]
<img src="${a.typeImg!}" alt=""/>
<span class="descs" style="display: none;">${a.title}</span>
[/#list]
[/@cms_content_list]
</div>
<div class="btn_demo">
<div class="desc"></div>
<div class="btn_disc">
<!-- 显示轮播图按钮 -->
[@cms_content_list count='5' channelId='110']
[#list tag_list as a]
<a id="${a_index}" class="circle"></a>
[/#list]
[/@cms_content_list]
</div>
</div>
<div class="left direct"><</div>
<div class="right direct">></div>
</div>
[@cms_content_list typeId='3' channelId='110' count='8' styleList='2-4' titLen='16' rollLineHeight='400' rollSpan='1' rollSpeed='1' tpl='2'/]
[@cms_channel id="105"]
MORE
[/@cms_channel]
[@cms_content_list recommend="0" count='6' titLen='18' channelId='105' orderBy='4' channelOption='0' dateFormat='yyyy-MM-dd']
[#list tag_list as a]
[@text_cut s=a.title len=titLen append='...'/]
${a.date?string(dateFormat)}
[/#list]
[/@cms_content_list]
[@cms_channel id="145"]
[@cms_channel id="96"]
MORE
[/@cms_channel]
[@cms_friendlink_list ctgId="5"]
[#list tag_list as link]
<option value="${link.domain}"><a href="${link.domain}" onclick="$.get('${base}/friendlink_view.jspx?id=${link.id}')">${link.name}</a></option>
[/#list]
[/@cms_friendlink_list]
这个网站中有两个二级页
[@cms_channel_list parentId = channel.id]
[#list tag_list as a]
<div>
<div class="jpf">
<div class="tImg">
<a href="${a.url}">
<img src="${a.titleImg!}" alt="">
</a>
</div>
<div class="title">
<a href="${a.url}" class="tWord">${a.name}</a>
</div>
</div>
</div>
[/#list]
[/@cms_channel_list]
<title>${channel.name} - ${site.name}</title>
<div class="word">
当前位置:
<a href="${base}/">首页</a> >
[#list channel.nodeList as n]
<a href="${n.url}" target="_blank">${n.name}</a>
[#if n_has_next] > [/#if]
[/#list]
</div>
[@cms_content_page recommend="0" count='6' titLen='40' channelId=channel.id orderBy='4' channelOption='0' dateFormat='yyyy-MM-dd']
[#list tag_pagination.list as a]
<div><p><a href="${a.url}">[@text_cut s=a.title len=titLen append='...'/]</a></p><span>${a.date?string(dateFormat)}</span></div>
[/#list]
</div>
<div class="btns">
[@cms_pagination sysPage='1'/]
</div>
[/@cms_content_page]
<title>${title} - ${site.name}</title>
<div class="head">
<h1>${title}</h1>
<p>发布时间:${content.releaseDate} 作者:${content.author!'本站编辑'} 来源:${content.origin!'本站原创'} 浏览次数:<span id="views"></span></p>
</div>
<div class="content">
${txt!}
</div>
<div class="btns">
<span class="prev-content"><i></i>上一篇:[@cms_content id=content.id next='1' channelId=channel.id][#if tag_bean??]<a href="${tag_bean.url}">[@text_cut s=tag_bean.title len=21 append='...'/]</a>[#else]没有了[/#if][/@cms_content]</span>
<span class="next-content">下一篇:[@cms_content id=content.id next='0' channelId=channel.id][#if tag_bean??]<a href="${tag_bean.url}">[@text_cut s=tag_bean.title len=21 append='...'/]</a>[#else]没有了[/#if][/@cms_content]<i></i></span>
</div>