Section page

The Section page template is rendered when a user navigates to https://{yoursubdomain}.zendesk.com/hc/{locale}/sections/{section_id}.

Available properties

You can use the following property in the Section page template.

NameTypeDescription
sectionobjectA section object
promoted_articlesarrayAn array of promoted article objects
ticket_formsarrayAn array of ticket form objects
help_centerobjectA help_center object that holds information and settings about the current help center
settingsobjectA settings object with custom settings for the current theme
signed_inbooleanWhether the user is logged in or not
featured_postsarrayAn array of featured post objects
brandobjectA brand object representing the current brand
userobjectA user object representing the current user

Available helpers

You can use the following helpers in this page template. You can also use any built-in helpers, global helpers, or global advanced helpers.

NameDescription
breadcrumbsBreadcrumbs for the current page. See breadcrumbs helper
paginationPagination links. See pagination helper
subscribeA link to follow or unfollow new articles or comments in the section

Example

<nav class="sub-nav">  {{breadcrumbs}}  {{subscribe}}</nav>
<h1>{{section.name}}</h1><p class="section-description">{{section.description}}</p>
{{#if section.articles}}  <ul class="article-list">    {{#each section.articles}}      <li class="article">        <a href="{{url}}">{{title}}</a>      </li>    {{/each}}  </ul>{{else}}  <i class="section-empty">    <a href="{{section.url}}">{{t 'empty'}}</a>  </i>{{/if}}
{{pagination}}