<ul class="off-canvas-list">
  <li><label>Treatises</label></li>
  {{#each treatise in treatises}}
  <li>{{#link-to 'treatise' treatise}}{{treatise.title}}{{/link-to}}</li>
  {{/each}}
</ul>
<ul class="off-canvas-list">
  <li><label>{{title}}</label></li>
  {{#each section in page.sections}}
  <li>{{#link-to 'page.section' id section.slug}}Panel {{section.sortOrder}}{{/link-to}}</li>
  {{/each}}
</ul>
<ul class="off-canvas-list">
  <li><label>{{treatise.title}}</label></li>
  {{#each page in treatise.pagesSorted}}
  <li>{{#link-to 'page' page}}{{page.title}}{{/link-to}}</li>
  {{/each}}
</ul>
<ul class="off-canvas-list">
  <li><label>Treatises</label></li>
  {{#each treatise in treatises}}
  <li>{{#link-to 'treatise' treatise}}{{treatise.title}}{{/link-to}}</li>
  {{/each}}
</ul>
{{#if page}}
  <ul class="off-canvas-list">
    <li><label>{{title}}</label></li>
    {{#each section in page.sectionsSorted}}
    <li>{{#link-to 'page.section' page.id section.id}}Panel {{section.sortOrder}}{{/link-to}}</li>
    {{/each}}
  </ul>
{{/if}}
<ul class="off-canvas-list">
  <li><label>{{treatise.title}}</label></li>
  {{#each page in treatise.pagesSorted}}
  <li>{{#link-to 'page' page}}{{page.title}}{{/link-to}}</li>
  {{/each}}
</ul>
Fix section links. Conditionally display if page is active
Fix section links. Conditionally display if page is active