For template site, convert #post to .post.
Merge pull request #1170 from mojombo/remove-ids-from-site-template

For template site, convert #post to .post. Fixes #1161.