Skip to content

Commit

Permalink
feat: add subsections pagination to section template
Browse files Browse the repository at this point in the history
  • Loading branch information
TetianaG committed Nov 16, 2020
1 parent 0020eac commit 6d0dcba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/section_page.hbs
Expand Up @@ -24,7 +24,7 @@
</header>

{{#if section.sections}}
<ul class="section-list section-list--collapsed">
<ul class="section-list">
{{#each section.sections}}
<li class="section-list-item">
<a href="{{url}}">
Expand All @@ -35,10 +35,10 @@
</a>
</li>
{{/each}}
<a tabindex="0" class="see-all-sections-trigger" aria-hidden="true" id="see-all-sections-trigger" title="{{t 'see_all_sections'}}">{{t 'see_all_sections'}}</a>
</ul>
{{/if}}

{{pagination "section.sections"}}

{{#if section.articles}}
<ul class="article-list">
Expand Down

0 comments on commit 6d0dcba

Please sign in to comment.