We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 079c3fa commit 228dd96Copy full SHA for 228dd96
layouts/shortcodes/show-on-path.html
@@ -11,7 +11,7 @@
11
*/}}
12
13
{{ $filepath := .Get "filepath" }}
14
-{{ $currentPath := .Page.RelPermalink }}
+{{ $currentPath := .Page.Path }}
15
16
{{ $fullFilepath := printf "%s%s" .Site.BaseURL $filepath }}
17
{{ $fullCurrentPath := printf "%s%s" .Site.BaseURL $currentPath }}
0 commit comments