li
  h3
    = link_to highlight(search.title, params[:term]), search.decorate.show_page_link
  - text = excerpt(search.content, params[:term], radius: 200)
  - highlight = text.blank? ? truncate(search.content.html_safe, length: 200, separator: '.') : highlight(text, params[:term])
  div = highlight

li
  h3 = link_to highlight(search.title, params[:term]), search.decorate.show_page_link

  - text = excerpt(search.content, params[:term], radius: 200)
  - highlight = text.blank? ? search.content : highlight(text, params[:term])
  div = truncate_read_more(highlight, search.decorate.show_page_link)

Add read more link for search view
Add read more link for search view

lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter