aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-07-06 14:17:24 -0500
committerChristian Cleberg <[email protected]>2026-07-06 14:17:24 -0500
commit54f48ceadb652b90c72fe6d624b09efc4af4f649 (patch)
tree24cb0d5470a8b9986dd53232c6847fd2fd7801e2 /theme
parentca1cadadcde0dac7d24050407a6bcde258f21e8a (diff)
downloadcleberg.net-54f48ceadb652b90c72fe6d624b09efc4af4f649.tar.gz
cleberg.net-54f48ceadb652b90c72fe6d624b09efc4af4f649.tar.bz2
cleberg.net-54f48ceadb652b90c72fe6d624b09efc4af4f649.zip
embed bubbles voting widget on blog posts
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/post.html8
1 files 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:[email protected]">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 %}