From 2ed8e41f1d3a028ad3ab00bb52ed2f64d3e3d31a Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 13 Jan 2025 15:40:24 +0100 Subject: [PATCH] feat: use social share plugin, comma-separate tags --- templates/article.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/templates/article.html b/templates/article.html index 62142b84..f5a062d3 100644 --- a/templates/article.html +++ b/templates/article.html @@ -95,11 +95,22 @@ {% if article.tags %}

{% for tag in article.tags %} - {{ tag }} + {{ tag }}{{"," if not loop.last }} {% endfor %}

{% endif %} + {% if article.share_post and article.status != 'draft' %} +
+

+ Share this post on + Bluesky, + Mastodon, + Reddit or + Twitter. +

+
+ {% endif %} {% endblock %}