Category page

The Category page template is rendered when a user clicks a link to any category in Help Center.

Available properties

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

Name Type Description
category object A category object
sections array An array of section objects
promoted_articles array An array of promoted article objects
ticket_forms array An array of ticket form objects
help_center object A help_center object that holds information and settings about the current help center
settings object A settings object with custom settings for the current theme

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.

Name Description
breadcrumbs Breadcrumbs for the current page. See breadcrumbs helper
section_tree_with_article A section list with articles. See section_tree_with_article helper

Example

<nav class="sub-nav sub-nav-far clearfix">
  {{breadcrumbs}}
  {{search}}
</nav>

<h1>{{category.name}}</h1>
<p class="category-description">{{category.description}}</p>
<ul>
{{#each sections}}
  <li class="section-name">
    <a href="{{url}}">{{name}}</a>
  </li>
{{/each}}
</ul>