1
0
Fork 0

chore(branding): add footer with the Algolia logo

This commit is contained in:
Sylvain UTARD 2015-12-16 19:11:34 +01:00
parent 0d8fa7ed5d
commit b24a4495c9
2 changed files with 25 additions and 1 deletions

View file

@ -43,7 +43,8 @@ class DocSearch {
this.autocomplete = autocomplete(this.input, autocompleteOptions, [{
source: this.getSource(),
templates: {
suggestion: this.getSuggestionTemplate()
suggestion: this.getSuggestionTemplate(),
footer: '<div class="ads-footer">Search by <a class="ads-footer--logo" href="https://www.algolia.com/docsearch">Algolia</a></div>'
}
}]);
this.autocomplete.on('autocomplete:selected', this.handleSelected);

File diff suppressed because one or more lines are too long