Initial commit failed on build - adjusted.

This commit is contained in:
Josh Rogers 2020-10-18 17:26:35 +01:00
parent 42bd0003d3
commit 821c020b5a

View File

@ -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'].gsub!(/\W+/, '').to_i(36).to_s note.data['title'].gsub!(/\W+/, ' ')
note.data['title'].delete(' ').to_i(36).to_s
end end
end end