Skip to main content
Midjourney
Toggle navigation menu
Learn about Midjourney
<% if (ids.length) { %>
<% ids.forEach(function(id, index) { %>
<% if (playInline) { %>
<% } else { %>
<% } %>
<% }); %>
<% ids.forEach(function(id, index) { %>
<% if (showTitle || showDuration) { %>
<% if (showTitle) { %>
<% } %> <% if (showDuration) { %>
<% } %>
<% } %>
<% }); %>
<% } %>
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% 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 %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% var getColumnClasses = function(columnNumber) { var classNames = 'col-12'; if (columnNumber >= 2) classNames += ' md:col-6'; if (columnNumber >= 3) classNames += ' lg:col-4'; if (columnNumber >= 4) classNames += ' xl:col-3'; return classNames; } %> <% if (articles.length) { %>
<% articles.forEach(function(article) { %>
•
<% if (excerptLength > 0 && article.body) { %>
<%= article.title %>
<%= Util.getExcerpt(article.body, 147) %>
<% } else { %>
<%= article.title %>
<% } %>
<% }) %>
<% } %>