cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

cc9fded3414e0bdc59feeed3c5508967e60c06bb

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2026-02-08T01:50:17Z

fix metadata styling
 theme/static/styles.css    |  2 +-
 theme/templates/index.html |  2 +-
 theme/templates/post.html  | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/theme/static/styles.css b/theme/static/styles.css
index e32acbb..23cb4cd 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -55,7 +55,7 @@ a:hover { background: var(--accent); color: var(--bg); text-decoration: none; }
 section b { font-size: 0.85rem; text-transform: uppercase; color: var(--meta); margin-top: 0.5rem; }
 .post { display: flex; align-items: center; border-bottom: 1px dashed var(--border); padding: 0.5rem 0; }
 .post time { font-size: 0.8rem; color: var(--meta); margin-right: 0.5rem; white-space: nowrap; flex-shrink: 0; }
-.post-metadata b { display: block; font-size: 0.7rem; }
+.metadata b { display: block; font-size: 0.7rem; }
 
 /* --- Org-Mode Tables (Heavy Grid) --- */
 table { width: 100%; border-collapse: collapse; margin: 2rem 0; border: 3px solid var(--fg); }
diff --git a/theme/templates/index.html b/theme/templates/index.html
index 48176e3..4491f14 100644
--- a/theme/templates/index.html
+++ b/theme/templates/index.html
@@ -1,5 +1,5 @@
 {% extends "base.html" %} {% block main %}
-<section>
+<section class="metadata">
     <b>User</b> <span>Christian Cleberg &lt;hello@cleberg.net&gt;</span>
     <b>Context</b> <span>Technology Assurance Manager</span>
     <b>Status</b>Active</span>
diff --git a/theme/templates/post.html b/theme/templates/post.html
index 0dc35e7..780a959 100644
--- a/theme/templates/post.html
+++ b/theme/templates/post.html
@@ -8,11 +8,11 @@
 <meta property="og:description" content="{{ project_description }}" />
 {% endif %} {% endblock %} {% block main %}
 <article>
-	<section class="post-metadata">
-        <b>Object</b> <span>{{ post.title }}</span>
-        <b>Timestamp</b> <span><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d %H:%M:%S") }}</time></span>
-        <b>Summary</b> <span>{{ post.description }}</span>
-    </section>
+	<section class="metadata">
+		<b>Object</b> <span>{{ post.title }}</span>
+		<b>Timestamp</b> <span><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d %H:%M:%S") }}</time></span>
+		<b>Summary</b> <span>{{ post.description }}</span>
+	</section>
 	<section>{{ post.html | safe }}</section>
 	<div class="reply-link"><a href="mailto:hello@cleberg.net">Reply via email &rarr;</a></div>
 </article>