Show more than 6 articles on home page
I am attempting to find a way around the default of showing 6 articles in a section then requiring a See All link. My business has a location handbook for each location we have, with each section of the handbook broken out into its own article page. We would like to have direct links to all of the relevant articles on the home page, with the articles shown controlled by user segments (ie users in our LA office are assigned to the "LA" user segment and only can access articles set to that permission.
I have the user segments working and the code below does show the articles correctly, but only 6 of them. Since each location's handbook is 15-20 sections long, I don't want to limit the home page display to just 6. What do I need to change so that I can show all of the articles without a link (which I removed in the screenshot below)? I've looked through a few different help articles and they either seem out of date or all refer to the same article which doesn't quite answer my question.
Any advice would be greatly appreciated!
<section class="section knowledge-base">
<h2 class="visibility-hidden">{{ t 'categories' }}</h2>
<section class="categories blocks">
<ul class="blocks-list">
{{#each categories}}
{{#each sections}}
{{#if articles}}
{{#each articles}}
<li class="blocks-item">
<a href='{{url}}' class="blocks-item-link">
<span class="blocks-item-title">
{{title}}
</span>
</a>
</li>
{{/each}}
{{/if}}
{{/each}}
{{/each}}
</ul>
{{pagination}}
</section>
サインインしてコメントを残してください。
0 コメント