<% if (locals.current_user) { %>
<%- partial('user/card',{ object: current_user, as: 'user' }) %>
<% } else { %>

<%= config.description %>

已注册用户请 登录
<% } %>
社区消息:

如何获得NodeAppEngine邀请码?

如何获得Node官方T-Shirt?

如何加入CNode社区?

<% if (locals.hot_tags) { %>
热门标签
<% if (hot_tags.length > 0) { %> <%- partial('tag/tag_with_count', { collection: hot_tags, as: 'tag' }) %> <% } else { %>

无

<% } %>
<% } %> <% if (locals.hot_topics) { %>
热门话题
<% if (hot_topics.length >0) { %>
    <%- partial('topic/small', { collection: hot_topics, as: 'topic' }) %>
<% } else { %>

无

<% } %>
<% } %> <% if (locals.no_reply_topics) { %>
无人回复的话题
<% if (no_reply_topics.length > 0) { %>
    <%- partial('topic/small', { collection: no_reply_topics, as: 'topic' }) %>
<% } else { %>

无

<% } %>
<% } %> <% if (config.site_links && config.site_links.length > 0) { %>
相关站点
    <% config.site_links.forEach(function (site) { %>
  • <%= site.text %>
  • <% }); %>
<% } %> <% if (locals.tops) { %>
积分榜   TOP 100 >>
<% if (tops.length > 0) { %>
    <%- partial('user/top', { collection: tops, as: 'user' }) %>
<% } else { %>

无

<% } %>
<% } %> <% if (locals.stars) { %>
社区达人   更多»
<% if (stars.length > 0) { %>
    <%- partial('user/star', { collection: stars, as: 'user' }) %>
<% } else { %>

无

<% } %>
<% } %>
<% if (config.side_ads && config.side_ads.length > 0) { %>
友情社区 | 赞助商
<% config.side_ads.forEach(function (ad) { %>
<% }); %>
<% } %>
RSS订阅
RSS订阅