Skip to content
Snippets Groups Projects
Verified Commit c60c1005 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

Add Algolia search

parent d1cd784a
No related branches found
No related tags found
No related merge requests found
Pipeline #18065 passed
...@@ -72,6 +72,20 @@ const config = { ...@@ -72,6 +72,20 @@ const config = {
darkTheme: darkCodeTheme, darkTheme: darkCodeTheme,
additionalLanguages: ["java"], additionalLanguages: ["java"],
}, },
algolia: {
// The application ID provided by Algolia
appId: "BC1WGBH3GB",
// Public API key: it is safe to commit it
apiKey: "df03651e55fff0ec2b5040e933940f8e",
indexName: "kszk-b-hu",
// Optional: see doc section below
contextualSearch: false,
debug: false,
},
}), }),
plugins: ["plugin-image-zoom"], plugins: ["plugin-image-zoom"],
......
...@@ -194,5 +194,41 @@ ...@@ -194,5 +194,41 @@
"theme.tags.tagsPageTitle": { "theme.tags.tagsPageTitle": {
"message": "Címkék", "message": "Címkék",
"description": "The title of the tag list page" "description": "The title of the tag list page"
},
"theme.SearchBar.label": {
"message": "Keresés",
"description": "The ARIA label and placeholder for search button"
},
"theme.SearchPage.documentsFound.plurals": {
"message": "Egy találat|{count} találat",
"description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.SearchPage.existingResultsTitle": {
"message": "Találatok a \"{query}\" kifejezésre",
"description": "The search page title for non-empty query"
},
"theme.SearchPage.emptyResultsTitle": {
"message": "Keresés",
"description": "The search page title for empty query"
},
"theme.SearchPage.inputPlaceholder": {
"message": "Keresés",
"description": "The placeholder for search page input"
},
"theme.SearchPage.inputLabel": {
"message": "Keresés",
"description": "The ARIA label for search page input"
},
"theme.SearchPage.algoliaLabel": {
"message": "Algolia keresés",
"description": "The ARIA label for Algolia mention"
},
"theme.SearchPage.noResultsText": {
"message": "Nincs találat",
"description": "The paragraph for empty search result"
},
"theme.SearchPage.fetchingNewResults": {
"message": "Új találatok betöltése...",
"description": "The paragraph for fetching new search results"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment