Fixes index

Fixed an error in the index.html template. The permalink value "{{permalink}}" has to refer to the "post" variable, hence: "{{post.permalink}}".