File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1717{{ $normalizedFilepath := cond (strings.HasSuffix $filepath "/") (substr $filepath 0 (sub (len $filepath) 1)) $filepath }}
1818{{ $normalizedCurrentPath := cond (strings.HasSuffix $currentPath "/") (substr $currentPath 0 (sub (len $currentPath) 1)) $currentPath }}
1919
20+ {{/* Debug output */}}
21+ < div style ="border: 1px solid red; padding: 10px; margin: 10px 0; background: #ffe6e6; ">
22+ < strong > Debug Info:</ strong > < br >
23+ currentPath: {{ $currentPath }}< br >
24+ filepath: {{ $filepath }}< br >
25+ normalizedCurrentPath: {{ $normalizedCurrentPath }}< br >
26+ normalizedFilepath: {{ $normalizedFilepath }}< br >
27+ Match: {{ eq $normalizedCurrentPath $normalizedFilepath }}
28+ </ div >
29+
2030{{/* Display content only if paths match */}}
2131{{ if eq $normalizedCurrentPath $normalizedFilepath }}
2232{{ .Inner | markdownify }}
You can’t perform that action at this time.
0 commit comments