Browse Source

Come on.

master
Niels G. W. Serup 4 years ago
parent
commit
71cf3d26b6
  1. 2
      scripts/generate-pages.py

2
scripts/generate-pages.py

@ -42,7 +42,7 @@ def thumbnail_url(link):
def setup_directory_structure(settings, base_dir, template_dir):
site_new_dir = os.path.join(base_dir, 'site-new')
shutil.rmtree(site_new_dir)
shutil.rmtree(site_new_dir, ignore_errors=True)
os.mkdir(site_new_dir)
extern_dir_site = os.path.join(site_new_dir, 'extern')
os.symlink(os.path.join('..', 'extern'), extern_dir_site)

Loading…
Cancel
Save