We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b88a5 commit 247ba93Copy full SHA for 247ba93
_includes/search.html
@@ -1,9 +1,13 @@
1
-{% if site.data.locales[page.lang].search %}
2
- {% assign cx_id = site.data.locales[page.lang].search.cx_id %}
+{% if site.data.locales[page.lang].search.text %}
3
{% assign text = site.data.locales[page.lang].search.text %}
4
{% else %}
5
{% assign text = site.data.locales['en'].search.text %}
6
{% endif%}
+{% if site.data.locales[page.lang].search.cx_id %}
7
+ {% assign cx_id = site.data.locales[page.lang].search.cx_id %}
8
+{% else %}
9
+ {% assign cx_id = site.data.locales['en'].search.cx_id %}
10
+{% endif%}
11
<form id="search-form" action="https://www.google.com/cse">
12
<table class="fieldset">
13
<tr>
0 commit comments