| with open('content/section_2/I-Martha-gowans.md', 'r') as f: | with open('content/section_2/I-Martha-gowans.md', 'r') as f: | ||||
| text = f.read() | text = f.read() | ||||
| text = markdown.markdown(text) | text = markdown.markdown(text) | ||||
| return render_template('conversations-text.html', text=text) | |||||
| return render_template('text.html', text=text) |
| with open('content/TOC.md', 'r') as f: | with open('content/TOC.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('toc.html', text=text) | |||||
| # route for introduction page | # route for introduction page | ||||
| @main.route('/introduction/') | @main.route('/introduction/') |
| 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-text.html', text=text) | |||||
| return render_template('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-text.html', text=text) | |||||
| return render_template('text.html', text=text) |
| background-color: var(--color-light-gray); | background-color: var(--color-light-gray); | ||||
| } | } | ||||
| /* CONVERSATIONS */ | |||||
| /* TEXT PAGES LIKE ARCHIVAL CONVERSATIONS AND MAKING OF */ | |||||
| .conversations { | |||||
| .text { | |||||
| margin: 0% 20%; | margin: 0% 20%; | ||||
| } | } | ||||
| .conversations h1 { | |||||
| .text h1 { | |||||
| text-align: center; | text-align: center; | ||||
| } | } | ||||
| .conversations p { | |||||
| .text p { | |||||
| margin: 2rem 0rem; | margin: 2rem 0rem; | ||||
| } | } | ||||
| .conversations img { | |||||
| .text img { | |||||
| width: 100%; | width: 100%; | ||||
| } | } | ||||
| .conversations h2, .conversations h3 { | |||||
| .text h2, .text h3 { | |||||
| margin: 2rem 0rem; | margin: 2rem 0rem; | ||||
| padding: 0rem 1rem; | padding: 0rem 1rem; | ||||
| } | } | ||||
| .conversations h2 { | |||||
| .text h2 { | |||||
| font-size: 2.25 rem; | font-size: 2.25 rem; | ||||
| background-color: var(--color-lightyellow); | background-color: var(--color-lightyellow); | ||||
| border-radius: 0.5rem; | border-radius: 0.5rem; | ||||
| } | } | ||||
| .conversations h3 { | |||||
| .text h3 { | |||||
| border-bottom: 0.25rem dashed var(--color-lightyellow); | border-bottom: 0.25rem dashed var(--color-lightyellow); | ||||
| } | } | ||||
| .conversations li { | |||||
| .text li { | |||||
| } | } | ||||
| /* MAKING OF */ | |||||
| .making { | |||||
| margin: 0% 20%; | |||||
| } | |||||
| .making h1 { | |||||
| text-align: center; | |||||
| } | |||||
| .making p { | |||||
| margin: 2rem 0rem; | |||||
| } | |||||
| .making img { | |||||
| width: 100%; | |||||
| } | |||||
| .making h2, .making h3 { | |||||
| margin: 2rem 0rem; | |||||
| padding: 0rem 1rem; | |||||
| } | |||||
| .making h2 { | |||||
| font-size: 2.25 rem; | |||||
| background-color: var(--color-lightyellow); | |||||
| border-radius: 0.5rem; | |||||
| } | |||||
| .making h3 { | |||||
| border-bottom: 0.25rem dashed var(--color-lightyellow); | |||||
| } | |||||
| code { | code { | ||||
| display: flex; | display: flex; | ||||
| flex-direction: column; | flex-direction: column; |
| <div class="conversations"> | |||||
| <div class="text"> | |||||
| <button id="notes-operations" onclick="hideShowInfo()">?</button> | |||||
| <a href="/contents/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a> | <a href="/contents/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a> | ||||
| {% extends "base.html" %} | {% extends "base.html" %} |
| <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> |
| {% block footer %} | {% block footer %} | ||||
| <footer class="footer mt-5 py-3 bg-light"> | <footer class="footer mt-5 py-3 bg-light"> | ||||
| <div class="container"> | <div class="container"> | ||||
| <span class="text-muted">Data from the <a href="https://www.epo.org/">European Patent Office's</a> <a href="https://worldwide.espacenet.com/">Espacenet patent search engine</a> and reconfigured by Goldsmiths, University of London's Archival Conversations project.</span> | |||||
| <span class="text-muted">Copyright © Julien McHardy & Kat Jungnickel, chapters by respective authors, 2023. Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)</a> license.</span> | |||||
| <span class="text-muted">Data from the <a href="https://www.epo.org/">European Patent Office</a> and reconfigured by Goldsmiths, University of London's <a href="https://www.politicsofpatents.org/">Politics of Patents</a> research project funded by an <a href="https://erc.europa.eu/">ERC</a> Consolidator grant.</span> | |||||
| </div> | </div> | ||||
| </footer> | </footer> | ||||
| {% endblock%} | {% endblock%} |
| <div class="making"> | |||||
| <div class="text"> | |||||
| <button id="notes-operations" onclick="hideShowInfo()">?</button> | |||||
| <a href="/contents/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a> | <a href="/contents/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a> | ||||
| {% extends "base.html" %} | {% extends "base.html" %} |
| <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> |
| <div class="text"> | |||||
| <button id="notes-operations" onclick="hideShowInfo()">?</button> | |||||
| <a href="/contents/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a> | |||||
| {% extends "base.html" %} | {% extends "base.html" %} | ||||
| {% block content %} | {% block content %} | ||||
| {{ text|safe }} | {{ text|safe }} | ||||
| {% endblock %} | {% endblock %} | ||||
| </div> |
| {% extends "base.html" %} | |||||
| {% block content %} | |||||
| {{ text|safe }} | |||||
| {% endblock %} |