搜尋

config.toml 啟用本地端搜尋

# Enable local search
offlineSearch = true

config.toml 關閉 Algolia DocSearch

algolia_docsearch = false

config.toml 移除 GCSE(Google Custom Search Engine)

# GCSE
# gcs_engine_id = "d72aa9b2712488cc3"

config.toml 設定離線搜尋設定

# 離線搜尋摘要長度
offlineSearchSummaryLength = 300
# 離線搜尋最多結果筆數
offlineSearchMaxResults = 25