nfigErrorElem.textContent = `配置错误: ${error.message}`;
                console.error("Meilisearch配置错误:", error);
            }

            const searchInput = document.getElementById("searchInput");
            const resultsContainer = document.getElementById("results");
            const statsContainer = document.getElementById("stats");
            const paginationContainer = document.getElementById("pagination");
            const tagsContainer = document.getElementById("tagsContainer");
