fixed template

1. Just one row loop
2. Closed <p> tags properly
3. Added location in the right place
Merge pull request #1 from oatman/patch-1

fixed template