|
|
|
|
|
|
|
|
with open('content/section_3/making.md', 'r') as f: |
|
|
with open('content/section_3/making.md', 'r') as f: |
|
|
text = f.read() |
|
|
text = f.read() |
|
|
text = markdown.markdown(text) |
|
|
text = markdown.markdown(text) |
|
|
return render_template('making.html', text=text) |
|
|
|
|
|
|
|
|
return render_template('making-overview.html', text=text) |
|
|
|
|
|
|
|
|
# route for interface design essay |
|
|
# route for interface design essay |
|
|
@making.route('/making/interface/') |
|
|
@making.route('/making/interface/') |
|
|
|
|
|
|
|
|
with open('content/section_3/on-interface-design.md', 'r') as f: |
|
|
with open('content/section_3/on-interface-design.md', 'r') as f: |
|
|
text = f.read() |
|
|
text = f.read() |
|
|
text = markdown.markdown(text) |
|
|
text = markdown.markdown(text) |
|
|
return render_template('making.html', text=text) |
|
|
|
|
|
|
|
|
return render_template('making-text.html', text=text) |
|
|
|
|
|
|
|
|
# route for databases essay |
|
|
# route for databases essay |
|
|
@making.route('/making/search-engine-book/') |
|
|
@making.route('/making/search-engine-book/') |
|
|
|
|
|
|
|
|
with open('content/section_3/on-combining-databases-and-books.md', 'r') as f: |
|
|
with open('content/section_3/on-combining-databases-and-books.md', 'r') as f: |
|
|
text = f.read() |
|
|
text = f.read() |
|
|
text = markdown.markdown(text) |
|
|
text = markdown.markdown(text) |
|
|
return render_template('making.html', text=text) |
|
|
|
|
|
|
|
|
return render_template('making-text.html', text=text) |