diff --git a/_plugins/note_graph.rb b/_plugins/note_graph.rb index e15f01e..fa79851 100644 --- a/_plugins/note_graph.rb +++ b/_plugins/note_graph.rb @@ -98,7 +98,7 @@ module NoteGraph end def write(dest) - out_path = site.in_dest_dir('assets/js/graph-data.json') + out_path = @site.in_dest_dir('assets/js/graph-data.json') FileUtils.mkdir_p(File.dirname(out_path)) File.write(out_path, json) true