bit-docs-generate-html/site/default/templates/content.mustache module

The default content template.

Usage

The default content.mustache template contains the main HTML markup and includes these other mustache files:

Copy this file into your own project or theme to modify HTML markup, or include other available templates. For instance, bit-docs-js provides the signature.mustache template that can be included to conditionally show function signatures in the website generated output:

{{#unless hideBody}}
    {{#if signatures}}
        {{#each signatures}}
            {{> signature.mustache}}
        {{/each}}
    {{else}}
        {{#types}}
            {{> signature.mustache}}
        {{/types}}
    {{/if}}
    {{#if body}}
        {{> body.mustache}}
    {{/if}}
{{/unless}}