cmc/cleberg.net

My personal web garden & blog.

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

54f48ceadb652b90c72fe6d624b09efc4af4f649

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-07-06T19:17:24Z

embed bubbles voting widget on blog posts
 theme/templates/post.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/theme/templates/post.html b/theme/templates/post.html
index df6c3b7..458b611 100644
--- a/theme/templates/post.html
+++ b/theme/templates/post.html
@@ -7,15 +7,15 @@
 {% elif project_description is defined %}
 <meta property="og:description" content="{{ project_description }}" />
 {% endif %}
+<script src="https://bubbles.town/vote.js" defer></script>
 {% endblock %}
 {% block main %}
 <article>
-    <p><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time></p>
     <h1>{{ post.title }}</h1>
-    {% if post.description is defined %}
-        <p>{{ post.description }}</p>
-    {% endif %}
+    <p><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time>{% if post.description is defined %} &middot; {{ post.description }}{% endif %}</p>
+    <div class="bubbles-vote"></div>
     <div>{{ post.html | safe }}</div>
     <div><a href="mailto:hello@cleberg.net">Reply via email &rarr;</a></div>
+    <div><i>...or, comment on this post on <a href="https://bubbles.town">Bubbles</a>!</i></div>
 </article>
 {% endblock %}