From 895b59672599a5f896baa1ae281994dc7e149e24 Mon Sep 17 00:00:00 2001 From: ada Date: Fri, 22 Aug 2025 16:49:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8E=20=D1=85=D1=83=D0=BA=D0=B0=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D0=B8=20=D0=B3=D1=80?= =?UTF-8?q?=D0=B0=D1=84=D0=B0=20=D0=B7=D0=B0=D0=BC=D0=B5=D1=82=D0=BE=D0=BA?= =?UTF-8?q?:=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82=D1=8C=20=D0=BD?= =?UTF-8?q?=D0=B0=20Jekyll::Hooks.register=20=D0=B2=D0=BC=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D0=BE=20Jekyll::Hooks.register=5Fonce.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _plugins/note_graph.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/note_graph.rb b/_plugins/note_graph.rb index 08ecbcf..61d54b1 100644 --- a/_plugins/note_graph.rb +++ b/_plugins/note_graph.rb @@ -31,7 +31,7 @@ module NoteGraph end # Пишем файл ПОСЛЕ сборки сайта -Jekyll::Hooks.register_once :site, :post_write do |site| +Jekyll::Hooks.register :site, :post_write do |site| data = site.config["note_graph_json"] || "{}" out_path = File.join(site.dest, "assets", "js", "graph-data.json") FileUtils.mkdir_p(File.dirname(out_path))