File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,11 @@ def main():
5757 build_page ('experience.html' , 'experience.rst' , '_site/experience/index.html' )
5858
5959 # Copy static files
60- shutil .copytree ('static' , '_site/static' , dirs_exist_ok = True )
60+ if os .path .exists ('static' ):
61+ shutil .copytree ('static' , '_site/static' , dirs_exist_ok = True )
62+ print ("Static files copied successfully" )
63+ else :
64+ print ("Warning: static directory not found" )
6165
6266if __name__ == '__main__' :
6367 main ()
Original file line number Diff line number Diff line change 55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
66 < title > Dr. Hariharan Thiagarajan - {% block title %}{% endblock %}</ title >
77 < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css " rel ="stylesheet ">
8- < link rel ="stylesheet " href ="{{ url_for('static', filename='css/style.css') }} ">
8+ < link rel ="stylesheet " href ="{{ url_for('static', filename='css/style.css', _scheme='https' ) }} ">
99 < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css ">
1010</ head >
1111< body >
You can’t perform that action at this time.
0 commit comments