Skip to content

Commit ce05dcf

Browse files
authored
Merge pull request #34360 from tengqm/improve-page-meta
Improve page-meta-links page
2 parents f0c8341 + 12f11d4 commit ce05dcf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

layouts/partials/page-meta-links.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{{/* template adapted from Docsy theme */}}
2-
{{ if .Path }}
3-
{{ $pathFormatted := replace .Path "\\" "/" }}
2+
3+
{{ if .File.Path }}
4+
{{ $pathFormatted := replace .File.Path "\\" "/" }}
45
{{ $gh_repo := ($.Param "github_repo") }}
56
{{ $gh_subdir := ($.Param "github_subdir") }}
67
{{ $gh_project_repo := ($.Param "github_project_repo") }}

0 commit comments

Comments
 (0)