Community Topic List page

The Community Topic List page template is rendered when a user navigates to https://{yoursubdomain}{locale}/community/topics.

Available properties

topicsarrayAn array of topic objects
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

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.

breadcrumbsBreadcrumbs for the Topic list page. See breadcrumbs helper
paginationPagination links. See pagination helper


<nav class="sub-nav">  {{breadcrumbs}}  {{search}}</nav>
<header class="page-header">  <span class="dropdown">    <span class="dropdown-toggle">      <h1>{{t 'community'}}</h1>    </span>    <span class="dropdown-menu" role="menu">      {{link 'topics' role='menuitem' selected='true'}}      {{link 'posts' role='menuitem'}}    </span>  </span>  <span class="post-to-community">    {{link 'new_post' role='button'}}  </span></header>
{{#unless topics}}  <p>{{t 'no_content'}}</p>{{/unless}}
<ul class="topic-list">  {{#each topics}}    <li>      <h3>        {{#if internal}}          <span class="visibility-internal" data-title="{{t 'internal'}}">            <span class="visibility-internal-icon"></span>          </span>        {{/if}}        <a href="{{url}}">{{name}}</a>      </h3>      <p>{{excerpt description}}</p>      <span class="meta-group">        <span>{{t 'post_count' count=post_count}}</span>        <span>{{t 'follower_count' count=follower_count}}</span>      </span>    </li>  {{/each}}</ul>