Merge pull request #15 from joshfrogers/master
Update id generator function in Backlink Generator. Should now produc…
This commit is contained in:
commit
63df176d96
@ -66,6 +66,7 @@ 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+/, ' ')
|
||||||
|
note.data['title'].delete(' ').to_i(36).to_s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user