Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Ghost Fluent UI Ghost Fluent UI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ghost Themes
  • Ghost Fluent UIGhost Fluent UI
  • Wiki
  • Search Engine

Search Engine · Changes

Page history
Split search engine configurations authored Jan 08, 2021 by Laurent Sittler's avatar Laurent Sittler
Show whitespace changes
Inline Side-by-side
Showing with 0 additions and 30 deletions
+0 -30
  • Search-Engine.md Search-Engine.md +0 -30
  • No files found.
Search-Engine.md
View page @ 46fb005a
......@@ -6,33 +6,3 @@ The theme include the following _Search Engine_ connectors:
* **ElasticSearch**: you have to configure the ElasticSearch server on your side. Here, a post that explain you how to use [Elasticsearch as search engine for your Ghost blog](https://blog.lsonline.fr/2020/07/08/elasticsearch-as-search-engine-for-your-ghost-blog/)
> **Note**: if no search engine is configured, the search bar does not appear
## GhostHunter
To configure GhostHunter as your Search Engine, you must follow this steps:
1. Create a **Custom integration** named **GhostHunter**
2. Copy the **Content API Key**
3. From the Ghost **Code injection**, insert the following code into the _Site Header_
```html
<script type="text/javascript">
var ghosthunter_key = '<YOUR_CONTENT_API_KEY>';
</script>
```
## Elasticsearch
To configure Elasticsearch as your Search Engine, you must follow this steps:
1. From the Ghost **Code injection**, insert the following code into the _Site Header_
```html
<script type="text/javascript">
var elasticsearch_username = '<ELASTICSEARCH_USERNAME>';
var elasticsearch_password = '<ELASTICSEARCH_PASSWORD>';
var elasticsearch_auth = btoa(elasticsearch_username + ":" + elasticsearch_password);
</script>
```
2. If you Elasticsearch endpoint URL is different than the suggested one (`/api/search`), then precise the URL in addition to the other information:
```javascript
var elasticsearch_endpoint = 'https://my-elasticsearch.com';
```
Clone repository

Home

Theme

  • Header
  • Footer

Search Engine

  • GhostHunder
  • Elasticsearch

Apps Launcher

Templates

  • Posts
  • Pages
  • Tags
  • Featured
  • Events

Blog Comments

  • Isso