bug fix: side-comments.js not available to custom blog template

Fixes bug caused by `require` being undefined when using a custom template for showing a blog post.