[ 
https://issues.apache.org/jira/browse/CB-11104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248899#comment-15248899
 ] 

ASF GitHub Bot commented on CB-11104:
-------------------------------------

Github user dblotsky commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/581#discussion_r60328845
  
    --- Diff: www/_includes/algolia.html ---
    @@ -0,0 +1,14 @@
    +{% if page.version %}
    +    {% assign version = page.version %}
    +{% else %}
    +    {% assign version = site.latest_docs_version %}
    +{% endif %}
    +
    +<script type="text/javascript">
    +    docsearch({
    +        apiKey: '{{ site.algolia_api_key }}',
    +        indexName: 'cordova',
    +        inputSelector: '#header-search-field',
    +        algoliaOptions: { 'facetFilters': ["version:  {{ version  }}", 
"language: {{ language }}"] }
    --- End diff --
    
    The `language` variable is not defined here.


> Integrate Algolia Search to cordova docs
> ----------------------------------------
>
>                 Key: CB-11104
>                 URL: https://issues.apache.org/jira/browse/CB-11104
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Docs
>            Reporter: Sarangan Rajamanickam
>            Assignee: Sarangan Rajamanickam
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to