Merge pull request #137 from ralphocdol/search-new-tab-property

feat: added property new-tab to type: search
This commit is contained in:
Svilen Markov 2024-06-11 20:34:05 +01:00 committed by GitHub
commit 790ecef1c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 4 deletions

View file

@ -19,6 +19,7 @@ type Search struct {
cachedHTML template.HTML `yaml:"-"`
SearchEngine string `yaml:"search-engine"`
Bangs []SearchBang `yaml:"bangs"`
NewTab bool `yaml:"new-tab"`
}
func convertSearchUrl(url string) string {