Commit 54f48ceadb

54f48ceadb652b90c72fe6d624b09efc4af4f649

parent: ca1cadadcd

Verified · cmc

cmc <hello@cleberg.net> · 2026-07-06 19:17 UTC

embed bubbles voting widget on blog posts

Layout: unified · split

theme/templates/post.html +4 −4
@@ -7,15 +7,15 @@
77{% elif project_description is defined %}
88<meta property="og:description" content="{{ project_description }}" />
99{% endif %}
10<script src="https://bubbles.town/vote.js" defer></script>
1011{% endblock %}
1112{% block main %}
1213<article>
13 <p><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time></p>
1414 <h1>{{ post.title }}</h1>
15 {% if post.description is defined %}
16 <p>{{ post.description }}</p>
17 {% endif %}
15 <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>
16 <div class="bubbles-vote"></div>
1817 <div>{{ post.html | safe }}</div>
1918 <div><a href="mailto:hello@cleberg.net">Reply via email &rarr;</a></div>
19 <div><i>...or, comment on this post on <a href="https://bubbles.town">Bubbles</a>!</i></div>
2020</article>
2121{% endblock %}