aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/static/styles.css2
-rw-r--r--theme/templates/base.html1
-rw-r--r--theme/templates/garden.html18
3 files changed, 21 insertions, 0 deletions
diff --git a/theme/static/styles.css b/theme/static/styles.css
index 7029e9e..37c3e4f 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -135,6 +135,8 @@ img:hover { filter: grayscale(0); }
gap: 0.5rem;
}
+/* -- Garden -- */
+
/* Style the footnote number to be a fixed width for alignment */
.footnum {
font-weight: bold;
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 9f1c48e..3a2ff79 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -23,6 +23,7 @@
<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/blog/">Blog</a></li>
+ <li><a href="/garden/">Garden</a></li>
<li><a href="/services/">Services</a></li>
</ul>
</nav>
diff --git a/theme/templates/garden.html b/theme/templates/garden.html
new file mode 100644
index 0000000..dda3884
--- /dev/null
+++ b/theme/templates/garden.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %} {% block subtitle %}Garden | {% endblock %} {% block main %}
+<h1>Garden</h1>
+<p>
+ Notes in various states of growth. Some are stubs, some are developed.
+ Browse around.
+</p>
+<br>
+<ul class="garden-index">
+{% for post in posts %}
+<li>
+ <a href='{{ url_for("garden", slug=post.slug) }}'>{{ post.title }}</a>
+ {% if post.description %}
+ <span class="garden-desc">{{ post.description }}</span>
+ {% endif %}
+</li>
+{% endfor %}
+</ul>
+{% endblock %}