add posts loop in template
add the base.html template