Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/third-party/algolia-search.html')
-rw-r--r--layouts/partials/third-party/algolia-search.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/third-party/algolia-search.html b/layouts/partials/third-party/algolia-search.html
new file mode 100644
index 0000000..9507fdb
--- /dev/null
+++ b/layouts/partials/third-party/algolia-search.html
@@ -0,0 +1,4 @@
+{{- $scripts := slice "https://cdn.jsdelivr.net/npm/instantsearch.js@2/dist/instantsearch.min.js" -}}
+
+{{- $scripts = union $scripts (slice "js/algolia-search.js") -}}
+{{- return $scripts -}}