diff --git a/README.md b/README.md index 597bc34..a3173b0 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,30 @@ And a simple view might look like this **app/search/index.html.erb** (this is us + <% if @results && !@results.items.empty? %> +
+ <% @results.items.each do |item| %> +
+

<%= link_to item.htmlTitle.html_safe, item.link %>

+
+ <% if item['pagemap'] && +
+ +
+ +
+ <% if @results && !@results.items.empty? %>
<% @results.items.each do |item| %> @@ -227,26 +251,35 @@ And a simple view might look like this **app/search/index.html.erb** (this is us
<% end %>
-
-
+
-
+ + <% else %>

No results

<% end %>