Disable process Fleeting items in backrefs
This commit is contained in:
parent
52e187e251
commit
87b966ca18
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user