{{ if not hugo.IsProduction }}
<div class="platter" id="debug-page-info">
    <details>
        <summary>Debug Info</summary>
        <h4>Page Details</h4>
        <table>
            <tbody>
                <tr><td>.FirstSection</td><td>{{ .FirstSection }}</td></tr>
                <tr><td>.Kind</td><td>{{ .Kind }}</td></tr>
                <tr><td>.Permalink</td><td>{{ .Permalink }}</td></tr>
                <tr><td>.Section</td><td>{{ .Section }}</td></tr>
                <tr><td>.Type</td><td>{{ .Type }}</td></tr>
            </tbody>
            {{ if eq .Kind "section" }}
            <tbody>
                <tr><td>len .Pages</td><td>{{ len .Pages }}</td></tr>
            </tbody>
            {{ end }}
        </table>
    </details>
</div>
{{ end }}
