[#escape x as (x)!?html] ${site.name} [#if user??] [@NotificationPage receiverId=user.id pageSize=8; pagedList] [#assign notificationCount = pagedList.totalElements/] ${(notificationCount>0)?string(notificationCount,'')} [/@NotificationPage] 我的主页 私信 设置 退出 [#else] 登录 注册 [/#if] 首页 [@NodeList;list] [#list list as n] ${n.name} [/#list] [/@NodeList] [#if user??] ${(notificationCount>0)?string(notificationCount,'')} 我的主页 私信 设置 退出 [#else] 登录 注册 [/#if] [/#escape]