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 @@
7{% elif project_description is defined %} 7{% elif project_description is defined %}
8<meta property="og:description" content="{{ project_description }}" /> 8<meta property="og:description" content="{{ project_description }}" />
9{% endif %} 9{% endif %}
10<script src="https://bubbles.town/vote.js" defer></script>
10{% endblock %} 11{% endblock %}
11{% block main %} 12{% block main %}
12<article> 13<article>
13 <p><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time></p>
14 <h1>{{ post.title }}</h1> 14 <h1>{{ post.title }}</h1>
15 {% if post.description is defined %} 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 <p>{{ post.description }}</p> 16 <div class="bubbles-vote"></div>
17 {% endif %}
18 <div>{{ post.html | safe }}</div> 17 <div>{{ post.html | safe }}</div>
19 <div><a href="mailto:hello@cleberg.net">Reply via email &rarr;</a></div> 18 <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>
20</article> 20</article>
21{% endblock %} 21{% endblock %}