Skip to content

Commit 2f630c9

Browse files
committed
More debugging
1 parent 228dd96 commit 2f630c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

layouts/shortcodes/show-on-path.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
{{/* Debug output */}}
2424
<div style="border: 1px solid red; padding: 10px; margin: 10px 0; background: #ffe6e6;">
2525
<strong>Debug Info:</strong><br>
26+
RelPermalink: {{ .Page.RelPermalink }}<br>
27+
RelRef: {{ .Page.RelRef .Page.File.Path }}<br>
2628
currentPath: {{ $currentPath }}<br>
2729
filepath: {{ $filepath }}<br>
2830
normalizedCurrentPath: {{ $normalizedCurrentPath }}<br>

0 commit comments

Comments
 (0)