File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,15 @@ const minutesDir = path.join(dstDir, '/..');
6363const partialsDir = ( 'partials' in config )
6464 ? path . join ( base_dir , config . partials )
6565 : path . join ( base_dir , 'www/_partials/' ) ;
66+ const peoplePath = ( 'people' in config )
67+ ? path . join ( base_dir , config . people )
68+ : path . join ( base_dir , 'www/people.json' ) ;
6669
6770var htmlHeader = fs . readFileSync (
6871 path . join ( partialsDir , 'header.html' ) , { encoding : 'utf8' } ) ;
6972var htmlFooter = fs . readFileSync (
7073 path . join ( partialsDir , 'footer.html' ) , { encoding : 'utf8' } ) ;
71- var peopleJson = fs . readFileSync (
72- path . join ( base_dir , 'www/people.json' ) , { encoding : 'utf8' } ) ;
74+ var peopleJson = fs . readFileSync ( peoplePath , { encoding : 'utf8' } ) ;
7375var gLogData = '' ;
7476var haveAudio = false ;
7577var gDate = path . basename ( dstDir ) ;
You can’t perform that action at this time.
0 commit comments