Remove swiftype

This commit is contained in:
Mimi 2020-12-10 10:11:48 +08:00
parent e1a7b002ce
commit f1aa098773
3 changed files with 0 additions and 13 deletions

View File

@ -739,9 +739,6 @@ local_search:
# Preload the search data when the page loads.
preload: false
# Swiftype Search API Key
swiftype_key:
# ---------------------------------------------------------------
# Chat Services

View File

@ -4,8 +4,6 @@
{%- if theme.algolia_search.enable %}
{%- include 'search/algolia-search.njk' -%}
{%- elif theme.swiftype_key %}
{%- include 'search/swiftype.njk' -%}
{%- elif theme.local_search.enable %}
{%- include 'search/localsearch.njk' -%}
{%- endif %}

View File

@ -1,8 +0,0 @@
<script>
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
_st('install','{{ theme.swiftype_key }}','2.0.0');
</script>