module Lato::ComponentsHelper
def lato_sidebar_nav_item(key, path, &block)
def lato_sidebar_nav_item(key, path, &block) active = request.path == path active = @sidebar_key == key if @sidebar_key render 'lato/components/sidebar_nav_item', active: active, path: path do yield if block end end