Move all layouts to platters theme

This commit is contained in:
Eryn Wells 2024-10-07 21:39:17 -07:00
parent de8101efed
commit 66adceaf24
91 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1 @@
{{ if .Draft }}<span class="draft">draft</span>{{ end }}

View 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 }}

View file

@ -0,0 +1,15 @@
<details>
<summary>Debug EXIF Data</summary>
<table class="photo-params debug">
<thead>
<td>Key</td>
<td>Value</td>
</thead>
{{ range $k, $v := .Tags }}
<tr>
<td>{{ $k }}</td>
<td>{{ $v }}</td>
</tr>
{{ end }}
</table>
</details>