@@ -15,7 +15,7 @@ def index(): | |||
with open('content/section_2/conversations.md', 'r') as f: | |||
text = f.read() | |||
text = markdown.markdown(text) | |||
return render_template('conversations.html', text=text) | |||
return render_template('conversations-overview.html', text=text) | |||
# route for Martha Gowans page | |||
@conversations.route('/conversations/martha') | |||
@@ -23,4 +23,4 @@ def martha(): | |||
with open('content/section_2/I-Martha-gowans.md', 'r') as f: | |||
text = f.read() | |||
text = markdown.markdown(text) | |||
return render_template('conversations.html', text=text) | |||
return render_template('conversations-text.html', text=text) |
@@ -16,7 +16,7 @@ def index(): | |||
with open('content/section_3/making.md', 'r') as f: | |||
text = f.read() | |||
text = markdown.markdown(text) | |||
return render_template('making.html', text=text) | |||
return render_template('making-overview.html', text=text) | |||
# route for interface design essay | |||
@making.route('/making/interface/') | |||
@@ -24,7 +24,7 @@ def interface(): | |||
with open('content/section_3/on-interface-design.md', 'r') as f: | |||
text = f.read() | |||
text = markdown.markdown(text) | |||
return render_template('making.html', text=text) | |||
return render_template('making-text.html', text=text) | |||
# route for databases essay | |||
@making.route('/making/search-engine-book/') | |||
@@ -32,4 +32,4 @@ def databases(): | |||
with open('content/section_3/on-combining-databases-and-books.md', 'r') as f: | |||
text = f.read() | |||
text = markdown.markdown(text) | |||
return render_template('making.html', text=text) | |||
return render_template('making-text.html', text=text) |
@@ -0,0 +1,12 @@ | |||
<div class="conversations"> | |||
<a href="/contents/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a> | |||
{% extends "base.html" %} | |||
{% block content %} | |||
{{ text|safe }} | |||
{% endblock %} | |||
</div> |
@@ -0,0 +1,12 @@ | |||
<div class="making"> | |||
<a href="/contents/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a> | |||
{% extends "base.html" %} | |||
{% block content %} | |||
{{ text|safe }} | |||
{% endblock %} | |||
</div> |