mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-20 19:02:33 +00:00
Remove swiftype
This commit is contained in:
parent
e1a7b002ce
commit
f1aa098773
@ -739,9 +739,6 @@ local_search:
|
|||||||
# Preload the search data when the page loads.
|
# Preload the search data when the page loads.
|
||||||
preload: false
|
preload: false
|
||||||
|
|
||||||
# Swiftype Search API Key
|
|
||||||
swiftype_key:
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Chat Services
|
# Chat Services
|
||||||
|
|||||||
2
layout/_third-party/index.njk
vendored
2
layout/_third-party/index.njk
vendored
@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
{%- if theme.algolia_search.enable %}
|
{%- if theme.algolia_search.enable %}
|
||||||
{%- include 'search/algolia-search.njk' -%}
|
{%- include 'search/algolia-search.njk' -%}
|
||||||
{%- elif theme.swiftype_key %}
|
|
||||||
{%- include 'search/swiftype.njk' -%}
|
|
||||||
{%- elif theme.local_search.enable %}
|
{%- elif theme.local_search.enable %}
|
||||||
{%- include 'search/localsearch.njk' -%}
|
{%- include 'search/localsearch.njk' -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
8
layout/_third-party/search/swiftype.njk
vendored
8
layout/_third-party/search/swiftype.njk
vendored
@ -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>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user