def title(title = nil, headline = '')
      set_meta_tags(title: title) unless title.nil?
      headline.presence || meta_tags[:title]
    end
def title(title = nil, headline = '')
      set_meta_tags(title: title) unless title.nil?
      headline.presence || meta_tags[:title]
    end
Set the page title and return it back.

 This method is best suited for use in helpers. It sets the page title
 and returns it (or +headline+ if specified).

 @param [nil, String, Array] title page title. When passed as an
   +Array+, parts will be joined using configured separator value
   (see {#display_meta_tags}). When nil, current title will be returned.
 @param [String] headline the value to return from method. Useful
   for using this method in views to set both page title
   and the content of heading tag.
 @return [String] returns +title+ value or +headline+ if passed.

 @example Set HTML title to "Please login", return "Please login"
   title 'Login Page'
 @example Set HTML title to "Login Page", return "Please login"
   title 'Login Page', 'Please login'
 @example Set title as array of strings
   title title: ['part1', 'part2'] # => "part1 | part2"
 @example Get current title
   title

 @see #display_meta_tags