面包屑导航

示例1

使用场景:内容详情页面包屑导航

......

<div class="page-location">
  <div class="page-inner">
    <i class="icon icon-ic-nav-loc"></i><span class="text-cur">您现在的位置:</span> 
	  <a class="link" href="${Site.link}">首页</a> 
      <span class="text-split">&gt;</span> 
      <#list Catalog.ancestors?split(':') as cid>
        <@cms_catalog id="${cid}" level="Self">
        <#list DataList as c1>
          <a class="link" href="${c1.link}">${c1.name}</a> <span class="text-split">&gt;</span> 
        </#list>
        </@cms_catalog>
      </#list>
    <span class="text">${Content.title}</span>
  </div>
</div>

......

效果如下图所示: 输入图片说明

目录