Implement feature #1652 google custom search support. (#1667)

Implement feature #1652 google custom search support. For now we only support the look and feel "results only" and the engine must be set to use that layout. Add a google section to the search providers and search_form and search layout.

Close #1652
This commit is contained in:
user414
2018-05-15 15:42:10 -03:00
committed by Michael Rose
parent f744cea6a1
commit 3a817c2bdb
5 changed files with 52 additions and 3 deletions

View File

@@ -17,10 +17,12 @@
{%- case search_provider -%}
{%- when "lunr" -%}
{% include search/lunr-search-scripts.html %}
{%- when "google" -%}
{% include search/google-search-scripts.html %}
{%- when "algolia" -%}
{% include search/algolia-search-scripts.html %}
{%- endcase -%}
{% endif %}
{% include analytics.html %}
{% include /comments-providers/scripts.html %}
{% include /comments-providers/scripts.html %}