Update id generator function in Backlink Generator. Should now produce unique values in titles with Symbols
This commit is contained in:
@@ -66,6 +66,6 @@ class BidirectionalLinksGenerator < Jekyll::Generator
|
|||||||
end
|
end
|
||||||
|
|
||||||
def note_id_from_note(note)
|
def note_id_from_note(note)
|
||||||
note.data['title'].to_i(36).to_s
|
note.data['title'].gsub!(/\W+/, '').to_i(36).to_s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user