Add content for all pages and remove travel link

This commit is contained in:
glyph 2020-06-14 15:17:18 +01:00
parent 0b48bcc5a5
commit e2d7fafccb
18 changed files with 142 additions and 21 deletions

View File

@ -52,6 +52,24 @@ fn bacteria() -> Template {
Template::render("bacteria", &context)
}
#[get("/bacteria/sauerkraut-beginnings")]
fn bacteria_sauerkraut_beginnings() -> Template {
let context = FlashContext {
flash_name: None,
flash_msg: None,
};
Template::render("bacteria/sauerkraut_beginnings", &context)
}
#[get("/bacteria/sauerkraut-bottled")]
fn bacteria_sauerkraut_bottled() -> Template {
let context = FlashContext {
flash_name: None,
flash_msg: None,
};
Template::render("bacteria/sauerkraut_bottled", &context)
}
#[get("/computers")]
fn computers() -> Template {
let context = FlashContext {
@ -61,6 +79,15 @@ fn computers() -> Template {
Template::render("computers", &context)
}
#[get("/computers/rust-compilation")]
fn computers_rust_compilation() -> Template {
let context = FlashContext {
flash_name: None,
flash_msg: None,
};
Template::render("computers/rust_compilation", &context)
}
#[get("/fungi")]
fn fungi() -> Template {
let context = FlashContext {
@ -115,6 +142,15 @@ fn plants() -> Template {
Template::render("plants", &context)
}
#[get("/plants/aloe-there")]
fn plants_aloe_there() -> Template {
let context = FlashContext {
flash_name: None,
flash_msg: None,
};
Template::render("plants/aloe_there", &context)
}
#[get("/plants/blueberry-dance")]
fn plants_blueberry_dance() -> Template {
let context = FlashContext {
@ -151,15 +187,6 @@ fn support() -> Template {
Template::render("support", &context)
}
#[get("/travel")]
fn travel() -> Template {
let context = FlashContext {
flash_name: None,
flash_msg: None,
};
Template::render("travel", &context)
}
#[catch(404)]
fn not_found() -> Template {
debug!("404 Page Not Found");
@ -179,17 +206,20 @@ fn main() {
art,
background,
bacteria,
bacteria_sauerkraut_beginnings,
bacteria_sauerkraut_bottled,
computers,
computers_rust_compilation,
fungi,
fungi_grow_together,
fungi_lichen_space,
home,
lists,
plants,
plants_aloe_there,
plants_blueberry_dance,
plants_potato_tech,
meditation,
travel,
support
],
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
static/plants/tree_aloe.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

@ -1,5 +1,9 @@
{% extends "nav" %}
{% block content %}
<h2>Bacteria</h2>
<ul>
<li><a href="/bacteria/sauerkraut-bottled">Sauerkraut: Bottled</a> - <i>31 October, 2019</i></li>
<li><a href="/bacteria/sauerkraut-beginnings">Sauerkraut: Beginnings</a> - <i>22 October, 2019</i></li>
</ul>
<hr>
{%- endblock %}

View File

@ -0,0 +1,14 @@
{% extends "nav" %}
{% block content %}
<article>
<h2>Sauerkraut: Beginnings</h2>
<i>22 October, 2019</i>
<figure>
<img src="/bacteria/sauerkraut_jar.jpeg" alt="Colour photo in portrait orientation of a 3L jar filled with purple sauerkraut-in-the-making. The jar is on a wooden countertop and is covered by a blue and white cloth. A glass jar with water is visible inside the bigger jar. Bubbles can be seen forming on the surface of the sauerkraut mixture / solution." style="width: 100%;" />
<figcaption>Counter-top fermentation factory</figcaption>
</figure>
<p>I started my first batch of sauerkraut on Sunday - something Ive been meaning to do for a few months.</p>
<p>1 red cabbage, 1/2 apple, 1 carrot, cut finely, sprinkled with salt, massaged and pressed down into a 3L jar. I had to add a little brine after 24 hours to ensure the vegetables were completely covered. I also added a glass jar with water to act as a weight.</p>
<p>Its already bubbling and smelling delicious. Fermentation is like hospitality management for microbes.
<hr>
{%- endblock %}

View File

@ -0,0 +1,14 @@
{% extends "nav" %}
{% block content %}
<article>
<h2>Sauerkraut: Bottled</h2>
<i>31 October, 2019</i>
<p>Today I bottled up some of the sauerkraut from my first batch. It has been going for 11 days; no taste of cabbage anymore and it tastes super tangy. Intrigued to see how the flavour develops.</p>
<p>Also transferred some chaga (Inonotus obliquus), reishi (Ganoderma lucidum) and turkey tail (Trametes versicolor)-infused coconut oil to a smaller jar.</p>
<p>All of it will be gifted to friends in the valley; gifted by the combined efforts of the sun, soil, water, plants, bacteria and humyns.</p>
<figure>
<img src="/bacteria/sauerkraut_mountain.jpeg" alt="Colour photo showing five glass jars, one small and four large, in a row on a wooden handrail. The first jar contains a cream-coloured mixture of coconut oil, while the other jars are filled with purple sauerkraut. Trees and a mountain can be seen in the background on the right. A brick building appears along the left margin of the photo." style="width: 100%;" />
<figcaption>Vibrant delights in the valley</figcaption>
</figure>
<hr>
{%- endblock %}

View File

@ -33,6 +33,12 @@
font-family: monospace;
}
code {
background-color: #111;
color: #fff;
margin-left: 0.5rem;
}
.col {
flex: 1;
padding: 1rem;

View File

@ -1,5 +1,8 @@
{% extends "nav" %}
{% block content %}
<h2>Computers</h2>
<ul>
<li><a href="/computers/rust-compilation">Cross-Compiling Rust for Debian Buster on Raspberry Pi 3B+</a> - <i>18 May, 2020</i></li>
</ul>
<hr>
{%- endblock %}

View File

@ -0,0 +1,21 @@
{% extends "nav" %}
{% block content %}
<article>
<h2>Cross-Compiling Rust for Debian Buster on Raspberry Pi 3B+</h2>
<i>18 May, 2020</i>
<p>Install target platform:</p>
<code>rustup target add aarch64-unknown-linux-gnu</code>
<p>Install toolchain:</p>
<code>rustup toolchain install nightly-aarch64-unknown-linux-gnu</code>
<p>Install aarch64-linux-gnu-gcc:</p>
<code>sudo apt-get install gcc-aarch64-linux-gnu</code>
<p>Configure the linker*:</p>
<code>export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc</code>
<p>Compile release build:</p>
<code>cargo build --release --target=aarch64-unknown-linux-gnu</code>
<p>* Another approach is to create `cargo-config` in the root directory of the repo and add the following:</p>
<code>[target.aarch64-unknown-linux-gnu]</code><br>
<code>linker = "aarch64-linux-gnu-gcc"</code>
</article>
<hr>
{%- endblock %}

View File

@ -4,9 +4,10 @@
<p>Welcome to the personal website of glyph.</p>
<h2>Contact Information</h2>
<ul style="padding: 0;">
<li class="list-item">Email: <a href="mailto:glyph@mycelial.technology">glyph@mycelial.technology</a></li>
<li class="list-item">Merveilles: <a href="https://merveilles.town/@glyph" title="@glyph@merveilles.town">@glyph</a></li>
<li class="list-item" style="word-wrap: break-word;">Scuttlebutt: @HEqy940T6uB+T+d9Jaa58aNfRzLx9eRWqkZljBmnkmk=.ed25519</li>
<li class="list-item">Email: <a href="mailto:glyph@mycelial.technology" title="glyph's Email address">glyph@mycelial.technology</a></li>
<li class="list-item">Sourcehut: <a href="https://git.sr.ht/~glyph" title="glyph's Sourcehut repo">@glyph</a></li>
<li class="list-item">Merveilles: <a href="https://merveilles.town/@glyph" title="glyph's Fediverse profile">@glyph</a></li>
<li class="list-item" style="word-wrap: break-word;" title="glyph's Scuttlebutt profile">Scuttlebutt: @HEqy940T6uB+T+d9Jaa58aNfRzLx9eRWqkZljBmnkmk=.ed25519</li>
</ul>
<hr>
{%- endblock %}

View File

@ -1,7 +1,6 @@
{% extends "nav" %}
{% block content %}
<h2>Lists</h2>
<hr>
<h3>Books</h3>
<p>Currently Reading</p>
<ul>
@ -45,4 +44,5 @@
<li><a href="https://www.indefenseofplants.com/podcast" title="In Defense of Plants podcast"><i>In Defense of Plants</i></a> - Matt</li>
<li><a href="https://www.happinesslab.fm/" title="The Happiness Lab podcast"><i>The Happiness Lab</i></a> - Dr Laurie Santos</li>
</ul>
<hr>
{%- endblock %}

View File

@ -1,5 +1,9 @@
{% extends "nav" %}
{% block content %}
<h2>Meditation</h2>
<img src="art/halo.svg" style="width: 500px; max-width: 90%;" title="Halo" />
<article>
<h2>Meditation</h2>
<img src="art/halo.svg" style="width: 500px; max-width: 90%;" title="Halo" />
<p>My current meditation practice includes 20 minutes of qigong each morning, as well as semi-regular <i>suizen</i> shakuhachi practice and club juggling.</p>
</article>
<hr>
{%- endblock %}

View File

@ -13,11 +13,10 @@
<li class="nav-item"><a href="/plants">plants</a></li>
<li class="nav-item"><a href="/meditation">meditation</a></li>
<li class="nav-item"><a href="/support">support</a></li>
<li class="nav-item"><a href="/travel">travel</a></li>
</ol>
</nav>
{%- block content %}{%- endblock %}
<footer style="display: flex;">
<p>&#169; 2020 glyph</p>
<p>&#169; 2020 glyph<p>
</footer>
{%- endblock %}

View File

@ -2,6 +2,7 @@
{% 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/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>

View File

@ -0,0 +1,23 @@
{% extends "nav" %}
{% block content %}
<article>
<h2>Aloe There</h2>
<i>6 June, 2020</i>
<figure>
<img src="/plants/aloe_flowers.jpg" alt="Dense cones of golden, tubular flowers dominate the frame, with green succulent leaves at the bottom, a bright blue sky above, and a thatched-roof in the background. Bees can be seen amongst the flowers." style="width: 100%;" />
<figcaption>Sunshine in the winter time</figcaption>
</figure>
<p>All the aloes are in full bloom right now and it makes me so happy. The bees are pretty stoked about it too, as are the sunbirds.</p>
<blockquote cite="https://en.wikipedia.org/wiki/Sunbird">
<p>As nectar is a primary food source for sunbirds, they are important pollinators in African ecosystems. Sunbird-pollinated flowers are typically long, tubular, and red-to-orange in colour, showing convergent evolution with many hummingbird-pollinated flowers in the Americas. A key difference is that sunbirds cannot hover, so sunbird-pollinated flowers and inflorescences are typically sturdier than hummingbird-pollinated flowers, with an appropriate landing spot from which the bird can feed.</p>
<footer>- <a href="https://en.wikipedia.org/wiki/Sunbird"><cite>Sunbird Wikipedia page</cite></a></footer>
</blockquote>
<p>This is likely <i>Aloe ferox</i>, though it should be said that Im still learning to differentiate species. Its categorised as a solitary, non-branching tree aloe. There is another one nearby which is easily 5-6 meters tall. Some species have yellow flowers, while others are orange, red or pink. They are wonderful neighbours. I think I will devote a good portion of my life to caring for aloes and learning more about them. If my spirit has a colour, it is that of the flowers above.</p>
<figure>
<img src="/plants/tree_aloe.jpg" style="width: 100%;" />
<figcaption>Majestic tree aloe amongst the succulents</figcaption>
</figure>
</article>
<p>An anecdote: I once drank <i>Huachuma</i> on a farm which had a cactus and succulent garden home to more than 1,000 species. After a good few hours drumming around a bonfire, my friends and I went to walk through the aforementioned garden. The moon was full, the night was still. Of all those species, the aloes were the only ones which appeared to me to be glowing blue-green. Not just reflecting the moonlight…glowing. I shall let the reader interpret that as they wish.</p>
<hr>
{%- endblock %}

View File

@ -10,8 +10,9 @@
<h2>Supporting</h2>
<p>These are the projects and friends I currently contribute to:</p>
<ul>
<li>@cel - $5 per month for Scuttlebutt development</li>
<li>@SoapDog - $5 per month for PatchFox development</li>
<li>Joey Santore - $5 per month for Crime Pays But Botany Doesn't</li>
<li>@cel - $5 per month for <a href="https://celehner.com/projects.html" title="cel's Projects">Scuttlebutt</a> development</li>
<li>@SoapDog - $5 per month for <a href="http://patchfox.org" title="PatchFox Website">PatchFox</a> development</li>
<li>Joey Santore - $5 per month for <a href="https://www.patreon.com/CrimePaysButBotanyDoesnt" title="Crime Pays But Botany Doesn't Patreon">Crime Pays But Botany Doesn't</a></li>
</ul>
<hr>
{%- endblock %}