1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:16:40 -04:00

remove algolia search stuff from production for now

This commit is contained in:
2021-04-03 09:46:12 -04:00
parent 83d88f0f77
commit 1d6d6686b2
11 changed files with 1 additions and 74 deletions

View File

@ -13,10 +13,3 @@
{{- $js := $bundle | resources.Concat "/js/app.js" -}}
<script async defer src="{{ $js.Permalink }}"></script>
{{ if eq .Page.RelPermalink "/search/" }}
{{- $algolia := resources.Get "js/vendor/algolia.js" -}}
{{- $algoliaConfig := resources.Get "js/search.js" -}}
{{- $searchJS := slice $algolia $algoliaConfig | resources.Concat "/js/search.js" -}}
<script async defer src="{{ $searchJS.Permalink }}"></script>
{{ end }}