don't handle custom-static dirs specially anymore
they're just more static files among all the static files we serve, they should go into pages/ like everything else fixes #20 Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
359916e7d9
commit
c46a1c0bae
@ -56,10 +56,6 @@ class StaticSiteGenerator(object):
|
|||||||
pass
|
pass
|
||||||
self.build_in_destination(program_static_dir, static_output_dir, convert_markdown=False)
|
self.build_in_destination(program_static_dir, static_output_dir, convert_markdown=False)
|
||||||
|
|
||||||
# copy the instance's static dir --- should I deprecate this since it could just be stuff in pages/static/?
|
|
||||||
custom_static_dir = os.path.join(self.instance_dir, 'custom-static')
|
|
||||||
self.build_in_destination(custom_static_dir, static_output_dir, convert_markdown=False)
|
|
||||||
|
|
||||||
# generate the feeds
|
# generate the feeds
|
||||||
cprint("generating feeds", 'green')
|
cprint("generating feeds", 'green')
|
||||||
generate_feed('atom', self.instance_dir, tmp_output_dir)
|
generate_feed('atom', self.instance_dir, tmp_output_dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user