[#escape x as (x)!?html]
[#include 'inc_meta.html'/] [#include 'inc_css.html'/] [#include 'inc_js.html'/]
[#include 'inc_header.html'/]
[#assign parentId=node.parent.id/] [#if !node.parent.parent??] [#assign parentId=node.id/] 全部 [#else] 全部 [/#if] [@NodeList parentId=parentId;list] [#list list as bean] ${bean.name} [/#list] [/@NodeList]
[@InfoPage nodeId=node.id isIncludeChildren='true' pageSize='10';pagedList]

[#list pagedList.content as bean]
- [#if bean.smallImage??][/#if]

  ${bean.title}

  ${substring(bean.description,80,'...')}

  [#list bean.node.hierarchy as n]${n.name}[#if n_has_next] > [/#if][/#list] ${bean.bufferDownloads}
  ${bean.publishDate?string('yyyy-MM-dd')}
[/#list]

[#include 'page.html'/] [/@InfoPage]

###### 下载排行榜

[@InfoList nodeId=node.id isIncludeChildren='true' sort='downloads desc' limit='10';list] [#list list as info]
${info_index+1}
${info.title}
${info.downloads}
[/#list] [/@InfoList]
[#include 'inc_footer.html'/]
[/#escape]