Skip to content

Commit 4506b41

Browse files
committed
minor: Fix edit document URL in hugo theme file
1 parent 9a70b9e commit 4506b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/themes/mongodb/layouts/partials/header/contentHeader.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ if .IsPage }}
22
{{ $File := .File }} {{with $File.LogicalName }} {{ $srcref := add (add "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>
3+
<a class="edit-link" href="https://github.com/mongodb/{{ $.Site.Data.mongodb.githubRepo }}/blob/{{ $.Site.Data.mongodb.githubBranch }}/docs/{{ $srcref }}" target="_blank" title="Edit {{ $File.Dir }}{{ $File.LogicalName }} on GitHub"><i class="fa fa-pencil-square-o"></i></a>
44
{{end}}
55
{{end}}
66
{{ $menuItemL6 := $.Scratch.Get "menu.Item.L6"}}

0 commit comments

Comments
 (0)