瀏覽代碼

adding foreword and frontmatter

main
Simon Bowie 2 年之前
父節點
當前提交
a83f3ea986
共有 4 個文件被更改,包括 64 次插入16 次删除
  1. +16
    -0
      web/app/main.py
  2. +18
    -16
      web/content/TOC.md
  3. +1
    -0
      web/content/foreword.md
  4. +29
    -0
      web/content/frontmatter.md

+ 16
- 0
web/app/main.py 查看文件

text = f.read() text = f.read()
text = markdown.markdown(text) text = markdown.markdown(text)
return render_template('text.html', text=text) return render_template('text.html', text=text)

# route for foreword page
@main.route('/foreword/')
def foreword():
with open('content/foreword.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('text.html', text=text)

# route for frontmatter page
@main.route('/frontmatter/')
def frontmatter():
with open('content/frontmatter.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('text.html', text=text)

+ 18
- 16
web/content/TOC.md 查看文件

<span class="code">↪ add intro text to frontmatter here...</span> <span class="code">↪ add intro text to frontmatter here...</span>
</span> </span>


- [Publisher: Mattering Press](frontmatter/#publisher "links to frontmatter section publisher")
- [Copyright](frontmatter/#copyright "links to frontmatter section copyright")
- [Citation](frontmatter/#citation "links to frontmatter section citation")
- [Acknowledgments](frontmatter/#acknowledgments "links to frontmatter section acknowledgments")
- [Funders](frontmatter/#funders "links to frontmatter section funders")
- [Partners](frontmatter/#partner "links to frontmatter section partners")
- [Contributors](frontmatter/#contributor "links to frontmatter section contributors")
- [Publisher: Mattering Press](/frontmatter/#publisher "links to frontmatter section publisher")
- [Copyright](/frontmatter/#copyright "links to frontmatter section copyright")
- [Citation](/frontmatter/#citation "links to frontmatter section citation")
- [Acknowledgements](/frontmatter/#acknowledgements "links to frontmatter section acknowledgements")
- [Funders](/frontmatter/#funders "links to frontmatter section funders")
- [Partners](/frontmatter/#partners "links to frontmatter section partners")
- [Contributors](/frontmatter/#contributors "links to frontmatter section contributors")


### Foreword ### Foreword
<span class="info" style="display: none;"> <span class="info" style="display: none;">
<span class="code">↪ add intro text to foreword here...</span> <span class="code">↪ add intro text to foreword here...</span>
</span> </span>


- [Foreword](/foreword)

### Section 1: Searching the archive ### Section 1: Searching the archive
<span class="info" style="display: none;"> <span class="info" style="display: none;">
<span class="code">↪ Main search via keywords...</span> <span class="code">↪ Main search via keywords...</span>
- [A scattering of images](/interventions/scattering) - [A scattering of images](/interventions/scattering)
- [A random entry](/interventions/random) - [A random entry](/interventions/random)
- [A juxtaposition of two](/interventions/juxtaposition) - [A juxtaposition of two](/interventions/juxtaposition)
- [A timeline of inventions](interventions/#timeline "links to interventions section timeline of inverntions)
- [A timeline of inventions](interventions/#timeline "links to interventions section timeline of inventions)




### Section 3: Hidden in plain sight ### Section 3: Hidden in plain sight
<span class="code">↪ Some things are all over the patent archive but never made explicit. Off the record presents three artistic works that render these absent-present realities visible...</span> <span class="code">↪ Some things are all over the patent archive but never made explicit. Off the record presents three artistic works that render these absent-present realities visible...</span>
</span> </span>


- [I Martha Gowans](/offrecord)
- [Sewing labour](offrecord/#sewinglabour "links to off section sewing labour")
- [Performing gender](offrecord/#performinggender "links to off section performing gender")
- [Colonial traces](offrecord/#colonialtraces "links to off section colonial traces")
- [I Martha Gowans](/offrecord "links to off the record section")
- [Sewing labour](offrecord/#sewinglabour "links to off the record section sewing labour")
- [Performing gender](offrecord/#performinggender "links to off the record section performing gender")
- [Colonial traces](offrecord/#colonialtraces "links to off the record section colonial traces")


### Section 5: Making of ### Section 5: Making of
<span class="info" style="display: none;"> <span class="info" style="display: none;">
<span class="code">↪ A series of essays from the makers on the research, methods, tools developed...</span> <span class="code">↪ A series of essays from the makers on the research, methods, tools developed...</span>
</span> </span>


- [On making search-engine book](making/#search-engine-book "links to making section making search-engine book")
- [On interface design](/making/interface)
- [On combining databases and books](/making/databases)
- [Making of - a collective interview](making/#interview "links to making section collective interview")
- [On making search-engine book](making/#search-engine-book "links to making-of section on making search-engine book")
- [On interface design](/making/interface "links to making-of section on interface design")
- [On combining databases and books](/making/databases "links to making-of section on combining databases and books")
- [Making of - a collective interview](making/#interview "links to making-of section collective interview")

+ 1
- 0
web/content/foreword.md 查看文件

# Foreword

+ 29
- 0
web/content/frontmatter.md 查看文件

# Frontmatter

## <a name="publisher"></a>Publisher

Add info + Mattering Press Logo

## <a name="copyright"></a>Copyright

Add info....

## <a name="citation"></a>Citation

Add info....

## <a name="acknowledgements"></a>Acknowledgements

Add info....

## <a name="funders"></a>Funders

Add info....

## <a name="partners"></a>Partners

Add info....

## <a name="contributors"></a>Contributors

Add info....

Loading…
取消
儲存