|
|
|
|
|
|
|
|
with open('content/section_5/on-interface-design.md', 'r') as f: |
|
|
with open('content/section_5/on-interface-design.md', 'r') as f: |
|
|
text = f.read() |
|
|
text = f.read() |
|
|
text = markdown.markdown(text) |
|
|
text = markdown.markdown(text) |
|
|
return render_template('text.html', text=text) |
|
|
|
|
|
|
|
|
return render_template('making.html', text=text) |
|
|
|
|
|
|
|
|
# route for databases essay |
|
|
# route for databases essay |
|
|
@making.route('/making/databases/') |
|
|
@making.route('/making/databases/') |
|
|
|
|
|
|
|
|
with open('content/section_5/on-combining-databases-and-books.md', 'r') as f: |
|
|
with open('content/section_5/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('text.html', text=text) |
|
|
|
|
|
|
|
|
return render_template('making.html', text=text) |