some improvements
This commit is contained in:
parent
8143e484cd
commit
d9d089be0d
8 changed files with 132 additions and 24 deletions
|
|
@ -104,6 +104,7 @@ func (i *Index) Search(search string) (results []core.Result, err error) {
|
|||
}
|
||||
r := core.Result{StoreTitle: hit.ID}
|
||||
r.Section, r.Title = render.SplitStoreTitle(hit.ID)
|
||||
r.Title = render.Untitle(r.Title)
|
||||
d, err := i.i.Document(hit.ID)
|
||||
if d == nil || err != nil {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue