Better fix to issue #58, uses template only when asked as option
code consistent with pandoc-jekyll plugin, see https://github.com/dsanson/jekyll-pandoc-plugin/pull/2