   
        
      
    {}];

    (function($) {
      $('#cortana-search').typeahead({
        name: 'cortana_search',
        local: searchData,
        template: [
          '<a href="{{path}}">',
          '<p class="cortana-search-title">{{title}}</p>',
          '<p class="cortana-search-path">{{breadcrumb}}</p>',
          '</a>'
        ].join(''),
        updater: function () {
          /* navigate to the selected item */
          alert('ok');
        },
        engine: Hogan
      }).on('typeahe