debug: Show current template filename in bottom right

Only displayed when running live server. May remove in the future, just
need it now to make it much easier to reorganize some of the templates.
This commit is contained in:
bbaovanc committed 2025-06-28 03:25:46 -05:00
1 parent 1aa2f8ea5c
commit ff4998f31b
1 file changed
+6
+6
View File
@@ -8,6 +8,12 @@
{{ partial "top.html" . }}
{{ if hugo.IsServer -}}
<div style="position: fixed; bottom: 25px; right: 25px;">
{{ templates.Current.Name }}
</div>
{{ end -}}
<div class="main-container">
{{ if not .IsHome }}
{{ partial "breadcrumb.html" . }}