주 콘텐츠로 건너뛰기
탐색 메뉴 토글
메이커센터
문의 등록
와디즈 바로가기
검색
도움말 센터
멤버십
가입
가입
서포터클럽은 어떻게 가입하나요?
서포터클럽은 와디즈 앱, 모바일 웹, PC를 통해 언제든지 쉽게 가입할 수 있어요. 최초 등록 시...
와디즈
공지사항을
확인해 보세요!
원하는 내용이 아니실까요?
아래 버튼을 클릭해주세요 <br>최대한 빠르게 도움드리겠습니다 🙌
문의등록
카테고리
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-article-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var maxSections = 5 %>
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% }); %>
카테고리
<% categories.forEach(function(category, index) { %>
<% if (category.isActive) { %>
<% } %><%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %> <% var hasParentSection = parent.hasOwnProperty('parent_section_id') %>
<% var sectionsInCategory = sections.slice(0, maxSections) %> <% sectionsInCategory.forEach(function(section, index) { %> <% var isLast = ((index + 1) === sectionsInCategory.length) && !hasParentSection %>
<% if (section.isActive) { %>
<% } %> <%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
더보기
<% } %>
<% } %>