def index
      core__set_header_active_page_title(LANGUAGES[:lato_blog][:pages][:categories])
      # find categories to show
      @categories = LatoBlog::Category.where(meta_language: cookies[:lato_blog__current_language]).order('title ASC')
      @widget_index_categories = core__widgets_index(@categories, search: 'title', pagination: 10)
    end
def index
      core__set_header_active_page_title(LANGUAGES[:lato_blog][:pages][:categories])
      # find categories to show
      @categories = LatoBlog::Category.where(meta_language: cookies[:lato_blog__current_language]).order('title ASC')
      @widget_index_categories = core__widgets_index(@categories, search: 'title', pagination: 10)
    end
This function shows the list of possible categories.