title: Is there an easy way to preserve the directory hierarchy with pelican?
body: <p>I have an existing site that is structured similar to the following:</p>
  
  <pre><code>.
    |-blog
    |-articles
    |  |-foo.html
    |-images
    |-references
  </code></pre>
  
  <p>When I run pelican it takes foo.html and stores it in the root of the output directory. Is there a way to tell pelican to preserve the articles directory so foo.html gets created there? I can't find an answer for this in the official documentation.</p>
  
  <p><strong>* Update *</strong> </p>
  
  <p>Updating with the pelican configuration file I'm working with:</p>
  
  <pre><code>#!/usr/bin/env python
  # -*- coding: utf-8 -*- #
  from __future__ import unicode_literals
  
  AUTHOR = u'Donny'
  SITENAME = u"Happy Valley"
  SITEURL = ''
  SHOW_FULL_ARTICLE = True
  THEME = 'themes/pelican-clean-blog'
  PATH = 'site_content'
  TIMEZONE = 'US/Eastern'
  DEFAULT_LANG = u'en'
  
  PLUGINS = ['pelican_alias']
  STATIC_PATHS = ['presentations']
  </code></pre>
  
  <p>The site_content directory contains the tree listed above. What I would like to do is have pelican take articles/foo.html from the source and present it as /articles/foo.html in the output directory. To keep the directories clean I would like it to create an actual articles directory and place the generated file there.</p>