Move all layouts to platters theme
This commit is contained in:
parent
de8101efed
commit
66adceaf24
91 changed files with 0 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
{{ if .Draft }}<span class="draft">draft</span>{{ end }}
|
||||
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 }}
|
||||
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue