Class: Jekyll::DropDownWithTemplate

Inherits:
Liquid::Block
  • Object
show all
Defined in:
lib/jekyll/FDroidSearchAutocompleteTag.rb

Overview

As the user types, a list of results is shown below the text input (floating above other content). When an item is selected, it will navigate to that packages page. Designed to be used in a sidebar widget.

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ Object



45
46
47
48
# File 'lib/jekyll/FDroidSearchAutocompleteTag.rb', line 45

def render(context)
  search_form_template_path = "../../_layouts/search-autocomplete.html"
  SearchForm.render_form(context, search_form_template_path, super.to_s)
end