File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ def gen_skeleton(name, is_blog):
98
98
shutil .rmtree (name )
99
99
100
100
os .makedirs (os .path .join (name , "content" ))
101
- os .makedirs (os .path .join (name , "static" ))
102
101
103
102
with open (os .path .join (name , "config.toml" ), "w" ) as f :
104
103
if is_blog :
@@ -128,6 +127,7 @@ def gen_skeleton(name, is_blog):
128
127
# Re-use the test templates
129
128
shutil .copytree ("../../../test_site/templates" , os .path .join (name , "templates" ))
130
129
shutil .copytree ("../../../test_site/themes" , os .path .join (name , "themes" ))
130
+ shutil .copytree ("../../../test_site/static" , os .path .join (name , "static" ))
131
131
132
132
133
133
def gen_section (path , num_pages , is_blog ):
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ fn bench_render_feed(b: &mut test::Bencher) {
46
46
site. library . read ( ) . unwrap ( ) . pages_values ( ) ,
47
47
None ,
48
48
& site. config . default_language ,
49
- None ,
49
+ |c| c ,
50
50
)
51
51
. unwrap ( ) ;
52
52
} ) ;
You can’t perform that action at this time.
0 commit comments