Skip to content

Commit

Permalink
algolia search main page
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukaasko committed Jan 23, 2024
1 parent 2b5e7c3 commit cfebe29
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "themes/plgd"]
path = themes/plgd
url = git@github.com:plgd-dev/www-theme.git
[submodule "themes/hugo-algolia"]
path = themes/hugo-algolia
url = https://github.com/replicatedhq/hugo-algolia.git
10 changes: 10 additions & 0 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ outputs:
- RSS
- REDIR
- HEADERS
- ALGOLIA
section:
- HTML
- RSS
Expand All @@ -44,6 +45,11 @@ outputFormats:
baseName: _headers
isPlainText: true
notAlternative: true
Algolia:
baseName: "algolia"
isPlainText: true
mediaType: "application/json"
notAlternative: true
caches:
getjson:
dir: ':cacheDir/:project'
Expand Down Expand Up @@ -75,4 +81,8 @@ taxonomies:
category: categories
params:
githubRepository: 'https://github.com/plgd-dev/doc/'
algolia:
indexName: "doc"
apiKey: "31dbe24685b8a1a7025c12098b32df37"
appId: "42D6VHXINQ"
---
1 change: 1 addition & 0 deletions themes/hugo-algolia
Submodule hugo-algolia added at b20d9a
2 changes: 1 addition & 1 deletion themes/plgd
Submodule plgd updated from 6ea8a1 to fe010a

0 comments on commit cfebe29

Please sign in to comment.