Add basic glossary and add cards for displaying articles, guides and posts
This commit is contained in:
parent
b89b0cc819
commit
a06c264a8d
10
src/main.rs
10
src/main.rs
|
@ -124,6 +124,15 @@ fn fungi_design_patterns() -> Template {
|
|||
Template::render("fungi/design_patterns", &context)
|
||||
}
|
||||
|
||||
#[get("/fungi/glossary")]
|
||||
fn fungi_glossary() -> Template {
|
||||
let context = FlashContext {
|
||||
flash_name: None,
|
||||
flash_msg: None,
|
||||
};
|
||||
Template::render("fungi/glossary", &context)
|
||||
}
|
||||
|
||||
#[get("/fungi/grow-forests")]
|
||||
fn fungi_grow_forests() -> Template {
|
||||
let context = FlashContext {
|
||||
|
@ -286,6 +295,7 @@ fn main() {
|
|||
computers_rust_compilation,
|
||||
fungi,
|
||||
fungi_design_patterns,
|
||||
fungi_glossary,
|
||||
fungi_grow_forests,
|
||||
fungi_grow_together,
|
||||
fungi_lichen_space,
|
||||
|
|
|
@ -34,7 +34,21 @@
|
|||
line-height: 1.4;
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
|
||||
.card {
|
||||
border: 1px solid black;
|
||||
box-shadow: 0.25rem 0.25rem;
|
||||
width: max-content;
|
||||
padding: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.card ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #111;
|
||||
color: #fff;
|
||||
|
@ -54,6 +68,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.flex-grid {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -110,10 +129,6 @@
|
|||
padding: 2rem;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
<h2>Computers</h2>
|
||||
<p>You can find some of my code on <a href="https://github.com/mycognosist" title="glyph's GitHub repo">GitHub</a> and <a href="https://git.sr.ht/~glyph" title="glyph's Sourcehut repo">Sourcehut</a>.</p>
|
||||
<h3>Posts</h3>
|
||||
<ul>
|
||||
<li><a href="/computers/rust-compilation">Cross-Compiling Rust for Debian Buster on Raspberry Pi 3B+</a> - <i>18 May, 2020</i></li>
|
||||
<li><a href="/computers/esp8266-dht11">ESP8266 with DHT11 and LCD Display</a> - <i>5 August, 2019</i></li>
|
||||
<li><a href="/computers/i2c-adventures">Adventures with I²C</a> - <i>26 January, 2019</i></li>
|
||||
</ul>
|
||||
<div class="card">
|
||||
<ul>
|
||||
<li><a href="/computers/rust-compilation">Cross-Compiling Rust for Debian Buster on Raspberry Pi 3B+</a> - <i>18 May, 2020</i></li>
|
||||
<li><a href="/computers/esp8266-dht11">ESP8266 with DHT11 and LCD Display</a> - <i>5 August, 2019</i></li>
|
||||
<li><a href="/computers/i2c-adventures">Adventures with I²C</a> - <i>26 January, 2019</i></li>
|
||||
</ul>
|
||||
</div>
|
||||
<hr>
|
||||
{%- endblock %}
|
||||
|
|
|
@ -2,13 +2,22 @@
|
|||
{% block title %}mycelial technology | fungi{% endblock title %}
|
||||
{% block content %}
|
||||
<h2>Fungi</h2>
|
||||
<ul>
|
||||
<li><a href="/fungi/photo-guide">Guide to Photographing Mushrooms for Identification</a> - <i>25 August, 2020</i></li>
|
||||
<li><a href="/fungi/lichen-space">Lichens in Space</a> - <i>28 May, 2020</i></li>
|
||||
<li><a href="/fungi/grow-forests">Growing Forests</a> - <i>26 October, 2018</i></li>
|
||||
<li><a href="/fungi/design-patterns">Mycelial Design Patterns</a> - <i>26 October, 2018</i></li>
|
||||
<li><a href="/fungi/grow-together">Grow Together</a> - <i>29 March, 2018</i></li>
|
||||
<li><a href="/fungi/network-resilience">Network Resilience: Woronin Bodies and the Scuttleverse</a> - <i>25 March, 2018</i></li>
|
||||
</ul>
|
||||
<h3>Articles</h3>
|
||||
<div class="card">
|
||||
<ul>
|
||||
<li><a href="/fungi/lichen-space">Lichens in Space</a> - <i>28 May, 2020</i></li>
|
||||
<li><a href="/fungi/grow-forests">Growing Forests</a> - <i>26 October, 2018</i></li>
|
||||
<li><a href="/fungi/design-patterns">Mycelial Design Patterns</a> - <i>26 October, 2018</i></li>
|
||||
<li><a href="/fungi/grow-together">Grow Together</a> - <i>29 March, 2018</i></li>
|
||||
<li><a href="/fungi/network-resilience">Network Resilience: Woronin Bodies and the Scuttleverse</a> - <i>25 March, 2018</i></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h3>Guides</h3>
|
||||
<div class="card">
|
||||
<ul>
|
||||
<li><a href="/fungi/glossary">Mycological Glossary</a> - <i>4 September, 2020</i></li>
|
||||
<li><a href="/fungi/photo-guide">Photographing Mushrooms for Identification</a> - <i>25 August, 2020</i></li>
|
||||
</ul>
|
||||
</div>
|
||||
<hr>
|
||||
{%- endblock %}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "nav" %}
|
||||
{% block title %}mycelial technology | fungal glossary{% endblock title %}
|
||||
{% block content %}
|
||||
<h2>Mycological Glossary</h2>
|
||||
<ul>
|
||||
<li><b>culture</b> - Mycelium of a particular strain and species, often grown in a petri dish or test tube for easy storage and replication.</li>
|
||||
<li><b>liquid culture</b> - Mycelium grown in a nutrified solution such as 4% honey water, often in a glass jar or similar lidded vessel; simplifies cultivation in non-sterile conditions.</li>
|
||||
<li><b>mushroom</b> - The fruiting body of a fungal network; a specialised structure grown to replicate and distribute the genetic information of the mycelium via spores.</li>
|
||||
<li><b>mycelium</b> - The body of a fungus, made up of branching and interconnected threads of single cells (hyphae); often appears as a white, fluffy mass resembling tiny roots.</li>
|
||||
<li><b>mycomaterial</b> - A substance or object grown out of mycelium, often using hemp hurd or similar woody substance as a base material. Mycomaterials hold great potential as replacements for plastic, styrofoam, leather etc.</li>
|
||||
<li><b>spore</b> - A tiny reproductive bundle carrying the genetic information of the parent organism; germinates to restart the life-cycle of the fungus.</li>
|
||||
</ul>
|
||||
<hr>
|
||||
{%- endblock %}
|
|
@ -2,11 +2,14 @@
|
|||
{% block title %}mycelial technology | plants{% endblock title %}
|
||||
{% block content %}
|
||||
<h2>Plants</h2>
|
||||
<ul>
|
||||
<li><a href="/plants/aloe-there">Aloe There</a> - <i>6 June, 2020</i></li>
|
||||
<li><a href="/plants/botanical-deceptions">Botanical Deceptions</a> - <i>15 May, 2020</i></li>
|
||||
<li><a href="/plants/potato-tech">Potato Tech</a> - <i>31 December, 2017</i></li>
|
||||
<li><a href="/plants/blueberry-dance">I Have Been Invited Into a Dance by a Bush with Purple Berries</a> - <i>20 December, 2017</i></li>
|
||||
</ul>
|
||||
<h3>Articles</h3>
|
||||
<div class="card">
|
||||
<ul>
|
||||
<li><a href="/plants/aloe-there">Aloe There</a> - <i>6 June, 2020</i></li>
|
||||
<li><a href="/plants/botanical-deceptions">Botanical Deceptions</a> - <i>15 May, 2020</i></li>
|
||||
<li><a href="/plants/potato-tech">Potato Tech</a> - <i>31 December, 2017</i></li>
|
||||
<li><a href="/plants/blueberry-dance">I Have Been Invited Into a Dance by a Bush with Purple Berries</a> - <i>20 December, 2017</i></li>
|
||||
</ul>
|
||||
</div>
|
||||
<hr>
|
||||
{%- endblock %}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<h3>Active</h3>
|
||||
<ul>
|
||||
<li><a href="https://opencollective.com/peachcloud">PeachCloud</a>: solarpunk social hardware with Scuttlebutt</li>
|
||||
<li><a href="https://hyphalfusion.network">Hyphal Fusion Network</a>: distributed mycology research</li>
|
||||
<li><a href="https://hyphalfusion.network">Hyphal Fusion Network</a>: a forum for distributed mycology research</li>
|
||||
<li><a href="https://git.sr.ht/~glyph/myka">myka</a>: culture library & cultivation log for tracking the expansion of mycelia</li>
|
||||
<li><a href="https://git.sr.ht/~glyph/spore">spore</a>: a manual for the mycelial arts</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue