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