forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't open new page for ext wiki on same repository
- When the external wiki has been set to a file on the repository, don't open the page on a tab. - Resolves go-gitea#20657
- Loading branch information
Gusted
committed
Aug 9, 2022
1 parent
820031e
commit 6fce04b
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -453,6 +453,7 @@ func NewFuncMap() []template.FuncMap { | |
} | ||
return items | ||
}, | ||
"HasPrefix": strings.HasPrefix, | ||
}} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters