def is_homepage?
      return false if (!defined?(@content.length).blank? || @content.blank?)
      @content.id == Setting.get('home_page').to_i	? true : false
    end
def is_homepage?
      return false if (!defined?(@content.length).blank? || @content.blank?)
      @content.id == Setting.get('home_page').to_i	? true : false
    end
returns a boolean as to whether the current view is the homepage