diff --git a/src/main.rs b/src/main.rs index 270c45a..5f33510 100644 --- a/src/main.rs +++ b/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, diff --git a/templates/base.html.tera b/templates/base.html.tera index 6f07ad8..7c92ced 100644 --- a/templates/base.html.tera +++ b/templates/base.html.tera @@ -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; - } diff --git a/templates/computers.html.tera b/templates/computers.html.tera index 3cf8cb5..7c94ea7 100644 --- a/templates/computers.html.tera +++ b/templates/computers.html.tera @@ -4,10 +4,12 @@

Computers

You can find some of my code on GitHub and Sourcehut.

Posts

- +
+ +

{%- endblock %} diff --git a/templates/fungi.html.tera b/templates/fungi.html.tera index ef6f202..eca58d2 100644 --- a/templates/fungi.html.tera +++ b/templates/fungi.html.tera @@ -2,13 +2,22 @@ {% block title %}mycelial technology | fungi{% endblock title %} {% block content %}

Fungi

- +

Articles

+
+ +
+

Guides

+
+ +

{%- endblock %} diff --git a/templates/fungi/glossary.html.tera b/templates/fungi/glossary.html.tera new file mode 100755 index 0000000..824ba7d --- /dev/null +++ b/templates/fungi/glossary.html.tera @@ -0,0 +1,14 @@ +{% extends "nav" %} +{% block title %}mycelial technology | fungal glossary{% endblock title %} +{% block content %} +

Mycological Glossary

+ +
+{%- endblock %} diff --git a/templates/plants.html.tera b/templates/plants.html.tera index eac8854..3292839 100644 --- a/templates/plants.html.tera +++ b/templates/plants.html.tera @@ -2,11 +2,14 @@ {% block title %}mycelial technology | plants{% endblock title %} {% block content %}

Plants

- +

Articles

+
+ +

{%- endblock %} diff --git a/templates/projects.html.tera b/templates/projects.html.tera index dbd8925..1e569b1 100644 --- a/templates/projects.html.tera +++ b/templates/projects.html.tera @@ -6,7 +6,7 @@

Active