Home page

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

Available properties

You can use the following properties in the Home page template.

NameTypeDescription
categoriesarrayAn array category objects
has_multiple_categoriesbooleanWhether there is more than one category visible for the current user
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
paginationPagination links. See pagination helper

Example

<section class="hero-unit">  {{search}}</section>
<div class="knowledge-base"><ul>{{#each categories}}  <li class="category-name">    <a href="{{url}}">{{name}}</a>    <ul>    {{#each sections}}      <li class="section-name">        <a href="{{url}}">{{name}}</a>      </li>    {{/each}}    </ul>  </li>{{/each}}
{{pagination}}</ul></div>