Skip to content

Commit 53dc343

Browse files
committed
fixing images link as well
1 parent 26241c1 commit 53dc343

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

circle_urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
# For each file, we need to replace all links to have correct .html extension
1616
search_names = [os.path.basename(f) for f in files]
17-
1817
for html_file in files:
1918
with open(html_file,'r') as filey:
2019
content = filey.read()
2120
for search_name in search_names:
2221
content = content.replace('%s"' %(search_name),'%s.html"' %(search_name))
22+
content = content.replace('/images/logo/logo.svg','http://singularity.lbl.gov/images/logo/logo.svg')
2323
with open(html_file,'w') as filey:
2424
filey.write(content)

0 commit comments

Comments
 (0)