From 6dd063382c8f839dbc2caab3aa29d03354071ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Sat, 25 Jun 2022 20:21:50 +0300 Subject: [PATCH] fixes #4 --- ServerUI.gd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ServerUI.gd b/ServerUI.gd index a4dc477..6d9a10a 100644 --- a/ServerUI.gd +++ b/ServerUI.gd @@ -77,8 +77,12 @@ func set_server_dir(dir: String) -> void: working_files.append(fd) var in_filestxt := _is_file_in_filestxt(file_name) - fd.include_in_filestxt = in_filestxt + if in_filestxt: + var file_metadata := _get_file_metadata(file_name) + fd.title = file_metadata["title"] + fd.date = file_metadata["date"] + fd.content = file_metadata["content"] idx += 1