Disable process Fleeting items in backrefs

This commit is contained in:
Peter Stuifzand 2020-10-31 23:27:42 +01:00
parent 52e187e251
commit 87b966ca18

View File

@ -57,6 +57,9 @@ func processBackrefsForPage(page Page, refs Refs) error {
err := json.NewDecoder(strings.NewReader(content)).Decode(&listItems) err := json.NewDecoder(strings.NewReader(content)).Decode(&listItems)
if err == nil { if err == nil {
for _, item := range listItems { for _, item := range listItems {
if item.Fleeting {
continue
}
foundLinks, err := ParseLinks(item.ID, item.Text) foundLinks, err := ParseLinks(item.ID, item.Text)
if err != nil { if err != nil {
continue continue