From ff4998f31b2cc671ffa67bbacbddaa14e6324ad6 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 28 Jun 2025 03:25:46 -0500 Subject: [PATCH] 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. --- layouts/baseof.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/baseof.html b/layouts/baseof.html index 7d6b3a0..584a608 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -8,6 +8,12 @@ {{ partial "top.html" . }} + {{ if hugo.IsServer -}} +
+ {{ templates.Current.Name }} +
+ {{ end -}} +
{{ if not .IsHome }} {{ partial "breadcrumb.html" . }}