Move all layouts to platters theme
This commit is contained in:
parent
de8101efed
commit
66adceaf24
91 changed files with 0 additions and 0 deletions
22
themes/platters/layouts/partials/development/page_info.html
Normal file
22
themes/platters/layouts/partials/development/page_info.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{{ 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue