Skip to content

Commit c4eeeb3

Browse files
committed
fix typo
1 parent 292cc91 commit c4eeeb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/show-on-path.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{{ $currentPath := .Page.RelPermalink }}
1515

1616
{{ $fullFilepath := printf "%s%s" .Site.BaseURL $filepath }}
17-
{{ $fullCurrentPath := printf "%s%s" .Site.BaseURL $filepath }}
17+
{{ $fullCurrentPath := printf "%s%s" .Site.BaseURL $currentPath }}
1818

1919
{{/* Remove trailing slash from both paths for consistent comparison */}}
2020
{{ $normalizedFilepath := cond (strings.HasSuffix $fullFilepath "/") (substr $filepath 0 (sub (len $filepath) 1)) $filepath }}

0 commit comments

Comments
 (0)