simplify layouts via configs
add hr when no navbar