Update id generator function in Backlink Generator. Should now produce unique values in titles with Symbols
This commit is contained in:
parent
eb979640c5
commit
42bd0003d3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user