メインコンテンツへスキップ
ナビゲーションメニュを切り替え
Back to website
コミュニティ
リクエストを送信
サインイン
カテゴリ
検索
コミュニティへの全投稿
トピックを表示
すべての投稿を表示
計画済み投稿を表示
全て
計画済み
未計画
完了
回答済み
ステータスなし
最新の投稿で並べ替え
最新の投稿
最近のアクティビティ
投票
コメント
Thoughts on this device?
注目の投稿
計画済み
Martin Beck
2024年01月25日 14:47
2
票
3
コメント
注目の投稿
Thoughts on this device?
Feature a post
お探しのものを見つけられませんでしたか?
新規投稿
<% var getColumnClasses = function(numberColumns) { var classNames = 'col-12'; if (numberColumns >= 2) classNames += ' md:col-6'; if (numberColumns >= 3) classNames += ' lg:col-4'; if (numberColumns >= 4) classNames += ' xl:col-3'; return classNames; } %> <% var getColorClasses = function(color, index) { if (color === 'white') { if (index === 0 || index === 3) return 'bg-secondary text-secondary-inverse'; if (index === 1) return 'bg-tertiary text-tertiary-inverse'; if (index === 2) return 'bg-primary text-primary-inverse'; } return 'bg-' + color + ' text-' + color + '-inverse'; } %>
<% if (heading) { %>
<%= heading %>
<% } %>
<% blocks.forEach(function(block, index) { %>
<% if (imageHeight) { %>
<% } %>
<% if (block.html_url) { %>
<%= block.name %>
<% } else { %> <%= block.name %> <% } %>
<% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
カテゴリ
<% 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 }) %>
<% }); %>
<% var maxSections = 12 %>
ナビゲーションメニュを切り替え
<% categories.forEach(function(category, index) { %> <% if (category.isActive) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% } %> <% }); %>
カテゴリ
カテゴリ
<% categories.forEach(function(category) { %>
<%= 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) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
もっと見る
<% } %>
<% } %>