fix matching

This commit is contained in:
Garry Ing 2021-03-29 22:12:38 -04:00
parent 6f650f390a
commit ada87a46bf
No known key found for this signature in database
GPG Key ID: 3B379B1F2193CC3E

View File

@ -70,7 +70,7 @@ class BidirectionalLinksGenerator < Jekyll::Generator
all_notes.each do |current_note| all_notes.each do |current_note|
# Nodes: Jekyll # Nodes: Jekyll
notes_linking_to_current_note = all_notes.filter do |e| notes_linking_to_current_note = all_notes.filter do |e|
e.content.include?(current_note.url) e.content.include?("href='#{current_note.url}'")
end end
# Nodes: Graph # Nodes: Graph