feat(search): add local search (#231)

* feat(search): add local search

* docs: add docs for search
This commit is contained in:
Dillon
2020-04-15 15:46:50 +08:00
committed by GitHub
parent b6ce753ae7
commit 90184ca3e7
92 changed files with 4843 additions and 1214 deletions

View File

@@ -40,6 +40,21 @@ other = "More"
[selectLanguage]
other = "Select Language"
[search]
other = "Search"
[searchPlaceholder]
other = "Search titles or contents..."
[clear]
other = "Clear"
[cancel]
other = "Cancel"
[noResultsFound]
other = "No results found"
[switchTheme]
other = "Switch Theme"
# === partials/header.html ===

View File

@@ -40,6 +40,21 @@ other = "Plus"
[selectLanguage]
other = "Choisir la langue"
[search]
other = "Chercher"
[searchPlaceholder]
other = "Rechercher des titres, des contenus..."
[clear]
other = "Clair"
[cancel]
other = "Annuler"
[noResultsFound]
other = "Aucun résultat trouvé"
[switchTheme]
other = "Changer de Thème"
# === partials/header.html ===
@@ -52,6 +67,14 @@ other = "Propulsé par %s"
other = "Thème"
# === partials/footer.html ===
# === partials/assets.html ===
[lunrLanguageLib]
other = "lib/lunr/lunr.fr.js"
[lunrLanguageCode]
other = "fr"
# === partials/assets.html ===
# === partials/plugin/share.html ===
[shareOn]
other = "Partager sur"

View File

@@ -40,6 +40,21 @@ other = "更多"
[selectLanguage]
other = "选择语言"
[search]
other = "搜索"
[searchPlaceholder]
other = "搜索文章标题或内容..."
[clear]
other = "清空"
[cancel]
other = "取消"
[noResultsFound]
other = "没有找到结果"
[switchTheme]
other = "切换主题"
# === partials/header.html ===
@@ -52,6 +67,14 @@ other = "由 %s 强力驱动"
other = "主题"
# === partials/footer.html ===
# === partials/assets.html ===
[lunrLanguageLib]
other = "lib/lunr/lunr.zh.js"
[lunrLanguageCode]
other = "zh"
# === partials/assets.html ===
# === partials/plugin/share.html ===
[shareOn]
other = "分享到"