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 1
1
{{ if .IsPage }}
2
- {{ $File := .File }} {{with $File.LogicalName }}
3
- < a class ="edit-link " href ="https://github.com/mongodb/{{ $.Site.Data.mongodb.githubRepo }}/docs/content/ {{ $File.Dir }}{{ $File.LogicalName }} " target ="_blank " title ="Edit {{ $File.Dir }}{{ $File.LogicalName }} on GitHub "> < i class ="fa fa-pencil-square-o "> </ i > </ a >
2
+ {{ $File := .File }} {{with $File.LogicalName }} {{ $srcref := add (add "docs/reference/content/" $File.Dir) $File.LogicalName }}
3
+ < a class ="edit-link " href ="https://github.com/mongodb/{{ $.Site.Data.mongodb.githubRepo }}/blob/ {{ $.Site.Data.mongodb.githubBranch }}/ {{ $srcref }} " target ="_blank " title ="Edit {{ $File.Dir }}{{ $File.LogicalName }} on GitHub "> < i class ="fa fa-pencil-square-o "> </ i > </ a >
4
4
{{end}}
5
5
{{end}}
6
6
{{ $menuItemL6 := $.Scratch.Get "menu.Item.L6"}}
You can’t perform that action at this time.
0 commit comments