Skip to content

Commit

Permalink
Merge branch 'main' of github.com:getkirby/getkirby.com
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Nov 28, 2023
2 parents 9d027b1 + 4bf867c commit b17fe81
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 22 deletions.
4 changes: 2 additions & 2 deletions content/plugins/thathoff/clear-cloudflare-cache/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: Clear Cloudflare Cache

----

Text:
Text:

----

Expand All @@ -22,4 +22,4 @@ Description: Automatically purge Cloudflare cached URLs

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/tobimori/blurhash/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: BlurHash

----

Text:
Text:

----

Expand All @@ -26,4 +26,4 @@ Published: 2023-01-07

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/tobimori/magick-extended/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: ImageMagick Extended

----

Text:
Text:

----

Expand All @@ -26,4 +26,4 @@ Description: Extend Kirby's built-in ImageMagick driver, work better with GIFs a

----

Versions: 3
Versions: 3,4
2 changes: 1 addition & 1 deletion content/plugins/tobimori/tailwind-merge/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ Example:

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/tobimori/thumbhash/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: ThumbHash

----

Text:
Text:

----

Expand All @@ -26,4 +26,4 @@ Published: 2023-05-07

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/wearejust/meta-tags/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: Meta Tags

----

Text:
Text:

----

Expand Down Expand Up @@ -35,4 +35,4 @@ Example:

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/werbschaft/upload-extended/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: Upload Extended

----

Text:
Text:

----

Expand Down Expand Up @@ -36,4 +36,4 @@ return [

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/ww/merx/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: Merx

----

Text:
Text:

----

Expand All @@ -22,4 +22,4 @@ Description: A powerful toolkit to cre­ate your very own on­line shop. Start e

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/zephir/contentsync/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: Contentsync

----

Text:
Text:

----

Expand All @@ -26,4 +26,4 @@ Published: 2023-07-18

----

Versions: 3
Versions: 3,4
4 changes: 2 additions & 2 deletions content/plugins/zephir/cookieconsent/plugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Title: Cookieconsent

----

Text:
Text:

----

Expand Down Expand Up @@ -30,4 +30,4 @@ Published: 2023-07-11

----

Versions: 3
Versions: 3,4
7 changes: 4 additions & 3 deletions site/plugins/search/src/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@ class Search
public function __construct()
{
$this->options = App::instance()->option('search.algolia', []);
$this->options['key'] = App::instance()->option('keys.algolia');

if (isset($this->options['app']) === false) {
throw new Exception('Please set your Algolia API credentials in the Kirby configuration.');
}

// use the search-only API key as fallback
$this->options['key'] = App::instance()->option('keys.algolia', 'd161a2f4cd2d69247c529a3371ad3050');

$this->algolia = Algolia::create(
$this->options['app'],
// use the search-only API key as fallback
option('keys.algolia', 'd161a2f4cd2d69247c529a3371ad3050')
$this->options['key']
);
}

Expand Down

0 comments on commit b17fe81

Please sign in to comment.