post loop in index.html