File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717{{ $fullCurrentPath := printf "%s%s" .Site.BaseURL $currentPath }}
1818
1919{{/* Remove trailing slash from both paths for consistent comparison */}}
20- {{ $normalizedFilepath := cond (strings.HasSuffix $fullFilepath "/") (substr $filepath  0 (sub (len $filepath ) 1)) $filepath  }}
21- {{ $normalizedCurrentPath := cond (strings.HasSuffix $fullCurrentPath "/") (substr $currentPath  0 (sub (len $currentPath ) 1)) $currentPath  }}
20+ {{ $normalizedFilepath := cond (strings.HasSuffix $fullFilepath "/") (substr $fullFilepath  0 (sub (len $fullFilepath ) 1)) $fullFilepath  }}
21+ {{ $normalizedCurrentPath := cond (strings.HasSuffix $fullCurrentPath "/") (substr $fullCurrentPath  0 (sub (len $fullCurrentPath ) 1)) $fullCurrentPath  }}
2222
2323{{/* Debug output */}}
2424< div  style ="border: 1px solid red; padding: 10px; margin: 10px 0; background: #ffe6e6; "> 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments