<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {{style ""}}
    <title>{{name}}</title>
</head>
<body>
    <header>
        <nav class="navbar navbar-dark bg-dark box-shadow">
            <ol class="breadcrumb">
                {{breadcrumbs name}}
            </ol>
        </nav>
    </header>

    <main class="container">
        <h1>{{name}}</h1>

        <h2>Types</h2>
        {{#each record.types}}
        <div>
            <h3>{{name}}</h3>
            <code>{{type}}</code>
            <p>{{comment}}</p>
        </div>
        {{/each}}

        <h2>Values</h2>
        {{#each record.values}}
        <div>
            <h3>{{name}}</h3>
            <code>{{type}}</code>
            <p>{{comment}}</p>
        </div>
        {{/each}}
    </main>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {{style ""}}
    <title>{{name}}</title>
</head>
<body>
    <header>
        <nav class="navbar navbar-dark bg-dark box-shadow">
            <ol class="breadcrumb">
                {{breadcrumbs name}}
            </ol>
        </nav>
    </header>

    <main class="container">
        <h1>{{name}}</h1>

        {{#if record.types}}
        <h2>Types</h2>
        {{#each record.types}}
        <div>
            <h3>{{name}}</h3>
            <code>{{type}}</code>
            <p>{{comment}}</p>
        </div>
        {{/each}}
        {{/if}}

        {{#if record.values}}
        <h2>Values</h2>
        {{#each record.values}}
        <div>
            <h3>{{name}}</h3>
            <code>{{type}}</code>
            <p>{{comment}}</p>
        </div>
        {{/each}}
        {{/if}}
    </main>
</body>
</html>

Hide the Types or Values headers if they have no contents
Hide the Types or Values headers if they have no contents
