                    notyf.success('{{ "DEL_SUCCESS" | gettext }}');
                        for (let i = 0; i < posts.length; i++) {
                            if (escapeString(posts[i]["path"]) === escapeString(file)) {
                                posts.splice(i, 1);
                                $("#post-number").html(posts.length);
                                break;
                            }
                        }
                        change_page(_page);
                    } else {
