mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-28 16:17:30 -05:00
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:
@ -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" . }}
|
||||
|
Reference in New Issue
Block a user