Do not exclude notes containing broken links from the index

pull/80/head
Mickaël Menu 3 years ago
parent 1fc7ceafac
commit 81fa34c106
No known key found for this signature in database
GPG Key ID: 53D73664CD359895

@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
### Fixed
* UTF-8 handling in the LSP server.
* [#78](https://github.com/mickael-menu/zk/issues/78) Do not exclude notes containing broken links from the index.
## 0.6.0

@ -200,7 +200,8 @@ func (t *indexTask) noteAt(path string) (Note, error) {
href := filepath.Join(filepath.Dir(absPath), link.Href)
link.Href, err = t.notebook.RelPath(href)
if err != nil {
return note, wrap(err)
t.logger.Err(err)
continue
}
}
note.Links = append(note.Links, link)

Loading…
Cancel
Save