Directly copy some Pelican templates to output folder
<p>I have a few new templates in my pelican theme (a growing number of them, really). They are html files that hold simple web maps. I use these by <code>{% include %}</code>ing them after the content of a blog post. I place the path to the <code>webmap1.html</code> template in the markdown metadata, and then in <code>article.html</code> I <code>{% include %}</code> the web map html at the bottom of the file.</p>

<p>Thing is, I really would like to have these html files available as standalone html in my output as well. Initially I thought I'd be able to do this by placing <code>webmap1.html</code> in my content directory and using STATIC_PATHS to copy it to the output. However, I was unable to get the include statement to find an html file that is not within the theme/templates directory.</p>

<p>I also found that adding <code>/theme/templates/maps</code> or <code>../theme/templates/maps</code> to STATIC_PATHS didn't work.</p>

<p>Of course, one way to do this would be to include identical files in both the content directory and the template directory, but that seems sloppy. Alternatively, I could add a command to <code>pelican</code> to copy the files from one place to another before the generation happens. Looking for an alternative solution though.</p>

<p>Thanks!</p>