moving template names

master
Castro0o 9 years ago
parent ec7d7c070e
commit ff8b6f1631

@ -38,5 +38,5 @@ def edit_index(filepath, json_allworks_dict):
insert_work(div_section02, 'Graduation_work thumbnail', graduation_work, key )
return tree
index_tree = edit_index('web/index.html', json_allworks)
write_html_file(index_tree, 'web/index_edited.html')
index_tree = edit_index('web/index-template.html', json_allworks)
write_html_file(index_tree, 'web/index.html')

@ -120,7 +120,7 @@ def edit_index(filepath, json_allworks_dict):
return tree
worktemplate = open('web/work.html', 'r')
worktemplate = open('web/work-template.html', 'r')
for key in json_allworks.keys():
graduation_work=json_allworks[key]
graduation_work_title = (json_allworks[key]['Title']).encode('ascii', 'ignore')

Loading…
Cancel
Save