add widget loop

add widget loop
add template home and default...