예제 #1
0
파일: build.py 프로젝트: shunfan/hazel
def copy_assets():
    safe_copy(g.path.template_assets, g.path.site_assets)
    safe_copy(g.path.images, g.path.site_images)
예제 #2
0
파일: config.py 프로젝트: shunfan/hazel
def default_config():
    default_config_path = get_path(g.hazel_path, 'default', 'config.yml')
    safe_copy(default_config_path, get_path(os.getcwd(), 'config.yml'))